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()
EndpointBinder
getKey
in interface EndpointBinder
public Class<?> bindEndpoints(String beanName, Class<?> controllerClass, Class<?> idType, boolean isDomainEntity, Map<String,Method> eventMapping, ReferenceFactory refFactory) throws javassist.CannotCompileException, javassist.NotFoundException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
EndpointBinder
bindEndpoints
in interface EndpointBinder
beanName
- The Spring Bean Name for the Endpoint BindercontrollerClass
- The class of the associated StatefulController
idType
- 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.CannotCompileException
javassist.NotFoundException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
Copyright © 2016. All rights reserved.