org.objectweb.proactive.ext.webservices.soap
Class ProActiveProvider

java.lang.Object
  extended by org.objectweb.proactive.ext.webservices.WSConstants
      extended by 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.

Field Summary
 
Fields inherited from class org.objectweb.proactive.ext.webservices.WSConstants
COMPONENT_INTERFACE, disallowedMethods, DOCUMENTATION, PROACTIVE_PROVIDER, PROACTIVE_STUB, ROUTER, supportedTypes, URL_PUBLICATION, WSDL_FILE
 
Constructor Summary
ProActiveProvider()
           
 
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
 

Constructor Detail

ProActiveProvider

public ProActiveProvider()
Method Detail

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.