|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.net.axis.AxisInvocationHandler
An invocation handler that allows typed and persistent client access to remote SOAP/Axis services. Adds method/interface to name resolution to the axis client engine. Unfortunately the AxisClientProxy has a package-protected constructor, otherwise we could inherit from there.
Nested Class Summary | |
static class |
AxisInvocationHandler.DefaultInterfaceMap (src)
Deprecated. a tiny helper that does some default mapping of methods to interface names we do not hash the actual reflection information because we could collide with proxy serialisation holding fucking old classes |
static class |
AxisInvocationHandler.DefaultMethodMap (src)
Deprecated. a tiny helper that does some default mapping of methods to method names we do not hash the actual reflection information because we could collide with proxy serialisation holding fucking old classes |
Field Summary | |
protected Call (src) |
call
Deprecated. the call object to which we delegate |
protected java.lang.String |
endPoint
Deprecated. the endpoint to which we are attached |
protected java.util.Map |
methodToInterface
Deprecated. mapping of methods to interface names |
protected java.util.Map |
methodToName
Deprecated. mapping of methods to method names |
protected java.lang.String |
rootContext
Deprecated. if attached to a server-engine, we can reattach |
Constructor Summary | |
AxisInvocationHandler(Call (src) call,
java.util.Map methodMap,
java.util.Map interfaceMap)
Deprecated. Creates a new AxisInvocationHandler and save some origin information to re-attach to the engine after being serialized. |
|
AxisInvocationHandler(java.net.URL endPoint,
java.lang.String soapAction)
Deprecated. Creates a new AxisInvocationHandler that keeps a persistent session with the service endpoint. |
|
AxisInvocationHandler(java.net.URL endPoint,
java.lang.String soapAction,
java.util.Map methodMap)
Deprecated. Creates a new AxisInvocationHandler that keeps a persistent session with the service endpoint. |
|
AxisInvocationHandler(java.net.URL endPoint,
java.lang.String soapAction,
java.util.Map methodMap,
java.util.Map interfaceMap)
Deprecated. Creates a new AxisInvocationHandler that keeps a persistent session with the service endpoint |
|
AxisInvocationHandler(java.net.URL endPoint,
java.lang.String soapAction,
java.util.Map methodMap,
java.util.Map interfaceMap,
boolean maintainSession)
Deprecated. Creates a new AxisInvocationHandler |
|
AxisInvocationHandler(java.net.URL endpoint,
java.lang.String soapAction,
Service (src) service,
java.util.Map methodMap,
java.util.Map interfaceMap)
Deprecated. Creates a new AxisInvocationHandler |
Method Summary | |
static java.lang.Object |
createAxisService(java.lang.Class _interface,
AxisInvocationHandler (src) handler)
Deprecated. default creation of service |
static java.lang.Object |
createAxisService(java.lang.Class _interface,
Call (src) call)
Deprecated. default creation of service |
static java.lang.Object |
createAxisService(java.lang.Class _interface,
java.net.URL endpoint,
java.lang.String soapAction)
Deprecated. default creation of service |
static java.lang.Object |
createAxisService(java.lang.Class _interface,
java.net.URL endpoint,
java.lang.String soapAction,
Service (src) service)
Deprecated. default creation of service |
java.lang.Object |
invoke(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
Deprecated. generic invocation method |
java.lang.Object |
invoke(java.lang.String serviceName,
java.lang.String methodName,
java.lang.Object[] args)
Deprecated. invoke given namespace+method+args |
java.lang.Object |
invoke(java.lang.String serviceName,
java.lang.String methodName,
java.lang.Object[] args,
java.lang.Class[] parameters)
Deprecated. invoke with additional method parameter signature |
protected void |
setBasicAuthentication(java.net.URL target)
Deprecated. helper to transfer url authentication information into engine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Map methodToInterface
protected java.util.Map methodToName
protected transient Call (src) call
protected java.lang.String rootContext
protected java.lang.String endPoint
Constructor Detail |
public AxisInvocationHandler(Call (src) call, java.util.Map methodMap, java.util.Map interfaceMap)
call
- the Axis call objectmethodMap
- a map of Java method to service method namesinterfaceMap
- a map of Java interface to service namespublic AxisInvocationHandler(java.net.URL endpoint, java.lang.String soapAction, Service (src) service, java.util.Map methodMap, java.util.Map interfaceMap)
endpoint
- target address of the serviceservice
- an Axis service objectmethodMap
- a map of Java method to service method namesinterfaceMap
- a map of Java interface to service namespublic AxisInvocationHandler(java.net.URL endPoint, java.lang.String soapAction, java.util.Map methodMap, java.util.Map interfaceMap, boolean maintainSession)
endPoint
- target url of the web servicemethodMap
- a map of Java method to service method namesinterfaceMap
- a map of Java interface to service namesmaintainSession
- a flag that indicates whether this handler
should keep a persistent session with the service endpointpublic AxisInvocationHandler(java.net.URL endPoint, java.lang.String soapAction, java.util.Map methodMap, java.util.Map interfaceMap)
endPoint
- target url of the web servicemethodMap
- a map of Java method to service method namesinterfaceMap
- a map of Java interface to service namespublic AxisInvocationHandler(java.net.URL endPoint, java.lang.String soapAction, java.util.Map methodMap)
endPoint
- target url of the web servicemethodMap
- a map of Java method to service method namespublic AxisInvocationHandler(java.net.URL endPoint, java.lang.String soapAction)
endPoint
- target url of the web serviceMethod Detail |
protected void setBasicAuthentication(java.net.URL target)
public java.lang.Object invoke(java.lang.String serviceName, java.lang.String methodName, java.lang.Object[] args) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.Object invoke(java.lang.String serviceName, java.lang.String methodName, java.lang.Object[] args, java.lang.Class[] parameters) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.Object invoke(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
public static java.lang.Object createAxisService(java.lang.Class _interface, java.net.URL endpoint, java.lang.String soapAction)
public static java.lang.Object createAxisService(java.lang.Class _interface, java.net.URL endpoint, java.lang.String soapAction, Service (src) service)
public static java.lang.Object createAxisService(java.lang.Class _interface, Call (src) call)
public static java.lang.Object createAxisService(java.lang.Class _interface, AxisInvocationHandler (src) handler)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |