|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.integration.convert.MindHolderToObjectConverter
public class MindHolderToObjectConverter
Spring Converter
which knows how to convert
MindRpcMessageHolder
to BaseObject
.
Constructor Summary | |
---|---|
MindHolderToObjectConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Instantiates a new mind holder to object converter. |
|
MindHolderToObjectConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
java.lang.String basePackage)
Instantiates a new mind holder to object converter. |
|
MindHolderToObjectConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
java.lang.String[] basePackage)
Instantiates a new mind holder to object converter. |
Method Summary | |
---|---|
BaseObject |
convert(MindRpcMessageHolder source)
|
void |
setBasePackage(java.lang.String[] basePackage)
Sets the base packages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MindHolderToObjectConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
objectMapper
- the object mapperpublic MindHolderToObjectConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper, java.lang.String basePackage)
objectMapper
- the object mapperbasePackage
- the base packagepublic MindHolderToObjectConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper, java.lang.String[] basePackage)
objectMapper
- the object mapperbasePackage
- the array of base packagesMethod Detail |
---|
public BaseObject convert(MindRpcMessageHolder source)
convert
in interface org.springframework.core.convert.converter.Converter<MindRpcMessageHolder,BaseObject>
public void setBasePackage(java.lang.String[] basePackage)
basePackage
- the new array base packages
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |