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

java.lang.Object
  extended byorg.objectweb.proactive.ext.webservices.soap.ProActiveProvider
All Implemented Interfaces:
org.apache.soap.util.Provider

public class ProActiveProvider
extends java.lang.Object
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
static org.apache.log4j.Logger logger
           
static java.lang.String URL_PUBLICATION
           
 
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
 

Field Detail

logger

public static org.apache.log4j.Logger logger

URL_PUBLICATION

public static final java.lang.String URL_PUBLICATION
See Also:
Constant Field Values
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 ? October 2004 INRIA All Rights Reserved.