public abstract class BindyAbstractDataFormat
extends org.apache.camel.support.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) |
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic 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
Exceptionpublic void setModelFactory(BindyAbstractFactory modelFactory)
protected Map<String,Object> createLinkedFieldsModel(Object model) throws IllegalAccessException
IllegalAccessExceptionprotected void createLinkedFieldsModel(Object model, Map<String,Object> row) throws IllegalAccessException
IllegalAccessExceptionprotected abstract BindyAbstractFactory createModelFactory(FormatFactory formatFactory) throws Exception
Exceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.ServiceSupportExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.ServiceSupportExceptionpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwareApache Camel