public abstract class BindyAbstractDataFormat
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.DataFormat, org.apache.camel.spi.DataFormatName, org.apache.camel.CamelContextAware
Modifier | Constructor and Description |
---|---|
|
BindyAbstractDataFormat() |
protected |
BindyAbstractDataFormat(Class<?> classType) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
createLinkedFieldsModel(Object model) |
protected void |
createLinkedFieldsModel(Object model,
Map<String,Object> row) |
protected abstract BindyAbstractFactory |
createModelFactory(FormatFactory formatFactory) |
protected void |
doStart() |
protected void |
doStop() |
protected Object |
extractUnmarshalResult(List<Map<String,Object>> models) |
org.apache.camel.CamelContext |
getCamelContext() |
Class<?> |
getClassType() |
BindyAbstractFactory |
getFactory() |
String |
getLocale() |
boolean |
isUnwrapSingleInstance() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setClassType(Class<?> classType) |
void |
setLocale(String locale) |
void |
setModelFactory(BindyAbstractFactory modelFactory) |
void |
setUnwrapSingleInstance(boolean unwrapSingleInstance) |
doInit, doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public BindyAbstractDataFormat()
protected BindyAbstractDataFormat(Class<?> classType)
public Class<?> getClassType()
public void setClassType(Class<?> classType)
public String getLocale()
public void setLocale(String locale)
public boolean isUnwrapSingleInstance()
public void setUnwrapSingleInstance(boolean unwrapSingleInstance)
public BindyAbstractFactory getFactory() throws Exception
Exception
public void setModelFactory(BindyAbstractFactory modelFactory)
protected Map<String,Object> createLinkedFieldsModel(Object model) throws IllegalAccessException
IllegalAccessException
protected void createLinkedFieldsModel(Object model, Map<String,Object> row) throws IllegalAccessException
IllegalAccessException
protected abstract BindyAbstractFactory createModelFactory(FormatFactory formatFactory) throws Exception
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.service.ServiceSupport
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.service.ServiceSupport
Exception
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
Apache Camel