public class DynamicAdapterHandler extends AbstractAdapterHandler
handler, isBindingMethod, serviceAdapter, subjectService
Constructor and Description |
---|
DynamicAdapterHandler(Processor serviceAdapter,
java.lang.Object subjectService) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildWrapperObject(java.lang.Object axisObject,
java.lang.reflect.Method method,
java.lang.Object[] args)
Wraps and builds the parameter wrapper object
|
protected java.lang.String |
getMsgInBinding(java.lang.reflect.Method method)
Retrieves the message in binding method specified in the method
annotation
|
protected java.lang.String |
getMsgOutBinding(java.lang.reflect.Method method)
Retrieves the message out binding method specified in the method
annotation
|
protected java.lang.Object |
getParameterWrappedObject(java.lang.Object wrapper,
java.lang.String wrappedMethod)
Gets the parameter wrapped object in which all the parameters need to be
set
|
protected void |
handleArrayTypeParameters(java.lang.Object axisObject,
java.lang.String param,
java.lang.Object arg)
Axis handles arrays by calling the set**Array method with a single input parameter.
|
protected void |
handleListTypeParameters(java.lang.Object axisObject,
java.lang.String param,
java.lang.Object arg)
The way axis handles list type of parameters is a little different It
does not have setter methods to set the list type of parameters, instead
it sets the list parameter in the following way get
|
protected java.lang.Object[] |
handleMessageIn(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Adapts the method parameter types of the client interface to axis
specific document wrapped or rpc wrapper object
|
protected java.lang.Object |
handleMessageOut(java.lang.Object axisObject,
java.lang.reflect.Method method)
Adapts the method return types to the client interface from axis specific
wrapper object
|
protected java.lang.Object |
handleServiceInvocation(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
TODO Describe this method
|
protected java.lang.Object |
hookAfterInvocation(java.lang.Object object,
java.lang.reflect.Method method) |
protected boolean |
isAdaptArgumentType(java.lang.reflect.Method method,
java.lang.Object[] args)
TODO Describe this method
|
protected boolean |
isAdaptReturnType(java.lang.reflect.Method method,
java.lang.Object[] args)
TODO Describe this method
|
protected boolean |
isArrayType(java.lang.String param)
Checks if the parameter is prefixed with
|
protected boolean |
isListType(java.lang.String param)
Checks if the parameter is prefixed with
|
protected boolean |
isMessageInWrapped(java.lang.reflect.Method method)
Check if the message in of the web service operation is wrapped in axis
specific object
|
protected boolean |
isMessageOutVoid(java.lang.reflect.Method method)
Check if the message out of the web service operation is
defined as void (meaning an IN_ONLY MEP)
|
protected boolean |
isMessageOutWrapped(java.lang.reflect.Method method)
Check if the message out of the web service operation is wrapped in axis
specific object
|
adaptArguments, adaptReturnType, considerMethodAnnotations, getAdaptedMethod, getAllFields, getAllInterfaces, getAuditAction, getComponentType, getDeclaredMatchingMethod, getDeclaredMatchingMethod, getDeclaredMatchingMethod, getFieldValue, getInterface, getIterator, getMatchingMethod, getMatchingMethod, getReturnParameterizedType, getterMethod, handleArray, handleCollection, hookBeforeInvocation, invoke, invokeMethod, invokeMethod, invokeMethodOnServiceAdapter, invokeMethodOnSubjectService, isAnnotated, isArray, isCollection, isCompatibleType, isDeclared, isHandleByAdapter, isProxy, isSimilar, loadClass, printFields, printFields, printInterfaceNames, printMethodInfo, printMethods, printParameterizedTypeInfo, proxyIt, proxyIt, setterMethod, unProxy
public DynamicAdapterHandler(Processor serviceAdapter, java.lang.Object subjectService)
protected java.lang.Object handleServiceInvocation(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
AbstractAdapterHandler
handleServiceInvocation
in class AbstractAdapterHandler
java.lang.Throwable
protected java.lang.Object handleMessageOut(java.lang.Object axisObject, java.lang.reflect.Method method) throws java.lang.Throwable
axisObject
- method
- java.lang.Throwable
protected java.lang.Object[] handleMessageIn(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
proxy
- method
- args
- java.lang.Throwable
protected java.lang.Object hookAfterInvocation(java.lang.Object object, java.lang.reflect.Method method) throws java.lang.Throwable
java.lang.Throwable
protected boolean isAdaptArgumentType(java.lang.reflect.Method method, java.lang.Object[] args)
AbstractAdapterHandler
isAdaptArgumentType
in class AbstractAdapterHandler
protected boolean isAdaptReturnType(java.lang.reflect.Method method, java.lang.Object[] args)
AbstractAdapterHandler
isAdaptReturnType
in class AbstractAdapterHandler
protected java.lang.String getMsgOutBinding(java.lang.reflect.Method method)
method
- protected java.lang.String getMsgInBinding(java.lang.reflect.Method method)
method
- protected boolean isMessageInWrapped(java.lang.reflect.Method method)
method
- protected boolean isMessageOutWrapped(java.lang.reflect.Method method)
method
- protected boolean isMessageOutVoid(java.lang.reflect.Method method)
method
- protected java.lang.Object getParameterWrappedObject(java.lang.Object wrapper, java.lang.String wrappedMethod)
wrapper
- wrappedMethod
- protected void buildWrapperObject(java.lang.Object axisObject, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
axisObject
- method
- args
- java.lang.Throwable
protected boolean isListType(java.lang.String param)
param
- protected boolean isArrayType(java.lang.String param)
param
- protected void handleListTypeParameters(java.lang.Object axisObject, java.lang.String param, java.lang.Object arg) throws AdapterHandlerException
axisObject
- param
- arg
- java.lang.Throwable
AdapterHandlerException
protected void handleArrayTypeParameters(java.lang.Object axisObject, java.lang.String param, java.lang.Object arg) throws AdapterHandlerException
axisObject
- param
- arg
- AdapterHandlerException
Copyright © 2017 Cloud Software Group, Inc. All Rights Reserved.