public class CamelBinder extends Object implements EndpointBinder
| Constructor and Description |
|---|
CamelBinder() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
bindEndpoints(String beanName,
Class<?> controllerClass,
Class<?> idType,
boolean isDomainEntity,
Map<String,Method> eventMapping,
ReferenceFactory refFactory)
Invoked by the StatefulController to construct an EndpointBinder Class
|
String |
getKey()
Returns the "key" for this EndpointBinder.
|
static Object |
lookupId(Object msg) |
public static final String KEY
public String getKey()
EndpointBindergetKey in interface EndpointBinderpublic Class<?> bindEndpoints(String beanName, Class<?> controllerClass, Class<?> idType, boolean isDomainEntity, Map<String,Method> eventMapping, ReferenceFactory refFactory) throws javassist.CannotCompileException, javassist.NotFoundException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
EndpointBinderbindEndpoints in interface EndpointBinderbeanName - The Spring Bean Name for the Endpoint BindercontrollerClass - The class of the associated StatefulControlleridType - The Class Type of the id field for the associated StatefulEntityisDomainEntity - A flag indicating the StatefulEntity and the StatefulController are one in the sameeventMapping - Association of Event to the Action MethodrefFactory - The ReferenceFactory that generates all Spring Bean idsjavassist.CannotCompileExceptionjavassist.NotFoundExceptionIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionCopyright © 2016. All rights reserved.