org.objectweb.proactive.ext.webservices.soap
Class ProActiveProvider
java.lang.Object
org.objectweb.proactive.ext.webservices.WSConstants
org.objectweb.proactive.ext.webservices.soap.ProActiveProvider
- All Implemented Interfaces:
- org.apache.soap.util.Provider
public class ProActiveProvider
- extends WSConstants
- implements org.apache.soap.util.Provider
- Author:
- vlegrand
This class is responsible to locate an active object deployed as a web service and invoke a method on this object.
Method Summary |
void |
invoke(org.apache.soap.rpc.SOAPContext reqContext,
org.apache.soap.rpc.SOAPContext resContext)
This method is responsible to invoke the method on the targetObject
First We invoke the method thanks to RPCRouter.invoke() method then we build an enveloppe that contains the response. |
void |
locate(org.apache.soap.server.DeploymentDescriptor dd,
org.apache.soap.Envelope env,
org.apache.soap.rpc.Call call,
java.lang.String methodName,
java.lang.String targetObjectURI,
org.apache.soap.rpc.SOAPContext reqContext)
This method is responsible for locating the active object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProActiveProvider
public ProActiveProvider()
locate
public void locate(org.apache.soap.server.DeploymentDescriptor dd,
org.apache.soap.Envelope env,
org.apache.soap.rpc.Call call,
java.lang.String methodName,
java.lang.String targetObjectURI,
org.apache.soap.rpc.SOAPContext reqContext)
throws org.apache.soap.SOAPException
- This method is responsible for locating the active object.
First, we make a lookup active in order to retrieve the active object and then store it in the private field tqrgetObject
- Specified by:
locate
in interface org.apache.soap.util.Provider
- Throws:
org.apache.soap.SOAPException
- See Also:
Provider
invoke
public void invoke(org.apache.soap.rpc.SOAPContext reqContext,
org.apache.soap.rpc.SOAPContext resContext)
throws org.apache.soap.SOAPException
- This method is responsible to invoke the method on the targetObject
First We invoke the method thanks to RPCRouter.invoke() method then we build an enveloppe that contains the response.
- Specified by:
invoke
in interface org.apache.soap.util.Provider
- Throws:
org.apache.soap.SOAPException
- See Also:
Provider
Copyright 2001-2007 INRIA All Rights Reserved.