org.objectweb.proactive.ext.webservices.soap
Class ProActiveDeployer
java.lang.Object
org.objectweb.proactive.ext.webservices.WSConstants
org.objectweb.proactive.ext.webservices.soap.ProActiveDeployer
public class ProActiveDeployer
- extends WSConstants
- Author:
- vlegrand
This class is responsible to deploy an active object as a web service.
It serialize the stub/proxy into a string and send it to the rcprouter Servlet in order to register it on the tomcat server.
Method Summary |
static void |
deploy(java.lang.String urn,
java.lang.String url,
java.lang.Object o,
java.lang.String[] methods)
Deploy an active object as a web service |
static void |
deployComponent(java.lang.String componentName,
java.lang.String url,
Component component)
Deploy a component as a webservice. |
static void |
undeploy(java.lang.String urn,
java.lang.String url)
Undeploy a service on a web server |
static void |
undeployComponent(java.lang.String componentName,
java.lang.String url,
Component component)
Undeploy component interfaces on a web server |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProActiveDeployer
public ProActiveDeployer()
deploy
public static void deploy(java.lang.String urn,
java.lang.String url,
java.lang.Object o,
java.lang.String[] methods)
- Deploy an active object as a web service
- Parameters:
urn
- The name of the web serviceurl
- The web server url where to deploy the service - typically "http://localhost:8080"o
- The active Object to be deployed as a web servicemethods
- The methods of the active object you want to be accessible. If null, all public methods will be exposed.
deployComponent
public static void deployComponent(java.lang.String componentName,
java.lang.String url,
Component component)
- Deploy a component as a webservice. Each interface of the component will be accessible by
the urn _ in order to identify the component an interface belongs to.
All the interfaces public methods will be exposed.
- Parameters:
componentName
- The name of the componenturl
- The web server url where to deploy the service - typically "http://localhost:8080"component
- The component owning the interfaces that will be deployed as web services.
undeploy
public static void undeploy(java.lang.String urn,
java.lang.String url)
- Undeploy a service on a web server
- Parameters:
urn
- The name (urn) of the serviceurl
- The web server url
undeployComponent
public static void undeployComponent(java.lang.String componentName,
java.lang.String url,
Component component)
- Undeploy component interfaces on a web server
- Parameters:
componentName
- The name of the componenturl
- The url of the web servercomponent
- The component owning the services interfaces
Copyright 2001-2007 INRIA All Rights Reserved.