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

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

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
ProActiveDeployer()
           
 
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
 

Constructor Detail

ProActiveDeployer

public ProActiveDeployer()
Method Detail

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 service
url - The web server url where to deploy the service - typically "http://localhost:8080"
o - The active Object to be deployed as a web service
methods - 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 component
url - 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 service
url - 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 component
url - The url of the web server
component - The component owning the services interfaces


Copyright 2001-2007 INRIA All Rights Reserved.