public class JerseyBinder extends AbstractRestfulBinder
| Constructor and Description |
|---|
JerseyBinder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEndpointMapping(javassist.CtMethod ctMethod,
String method,
String request) |
protected javassist.bytecode.annotation.Annotation[] |
addHttpRequestParameter(javassist.CtMethod ctMethod,
javassist.ClassPool cp) |
Class<?> |
bindEndpoints(String beanName,
Class<?> statefulControllerClass,
Class<?> idType,
boolean isDomainEntity,
Map<String,Method> eventMapping,
ReferenceFactory refFactory)
Invoked by the StatefulController to construct an EndpointBinder Class
|
protected javassist.CtClass |
buildProxy(javassist.ClassPool cp,
String beanName,
String proxyClassName,
Class<?> statefulControllerClass,
Class<?> idType,
boolean isDomainEntity,
Map<String,Method> eventMapping,
ReferenceFactory refFactory) |
String |
getKey()
Returns the "key" for this EndpointBinder.
|
protected Class<?> |
getPathAnnotationClass() |
protected String |
getSuffix() |
addComponentAnnotation, addFSMHarnessReference, addIdParameter, addRequestMethod, addRequestMethodBody, addRequestMethods, addRequestParameters, copyParameters, createParameterAnnotations, createRequestMethod, getComponentClass, getMethodPattern, parseMethodpublic static final String KEY
public String getKey()
EndpointBinderpublic Class<?> bindEndpoints(String beanName, Class<?> statefulControllerClass, Class<?> idType, boolean isDomainEntity, Map<String,Method> eventMapping, ReferenceFactory refFactory) throws javassist.CannotCompileException, javassist.NotFoundException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
EndpointBinderbindEndpoints in interface EndpointBinderbindEndpoints in class AbstractRestfulBinderbeanName - The Spring Bean Name for the Endpoint BinderstatefulControllerClass - 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.NotFoundExceptionIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionprotected javassist.CtClass buildProxy(javassist.ClassPool cp,
String beanName,
String proxyClassName,
Class<?> statefulControllerClass,
Class<?> idType,
boolean isDomainEntity,
Map<String,Method> eventMapping,
ReferenceFactory refFactory)
throws javassist.CannotCompileException,
javassist.NotFoundException,
IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
buildProxy in class AbstractRestfulBinderjavassist.CannotCompileExceptionjavassist.NotFoundExceptionIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionprotected void addEndpointMapping(javassist.CtMethod ctMethod,
String method,
String request)
addEndpointMapping in class AbstractRestfulBinderprotected javassist.bytecode.annotation.Annotation[] addHttpRequestParameter(javassist.CtMethod ctMethod,
javassist.ClassPool cp)
throws javassist.NotFoundException,
javassist.CannotCompileException
addHttpRequestParameter in class AbstractRestfulBinderjavassist.NotFoundExceptionjavassist.CannotCompileExceptionprotected String getSuffix()
getSuffix in class AbstractRestfulBinderprotected Class<?> getPathAnnotationClass()
getPathAnnotationClass in class AbstractRestfulBinderCopyright © 2016. All rights reserved.