org.ow2.petals.ws
Class DeploymentServiceImpl

java.lang.Object
  extended by org.ow2.petals.ws.DeploymentServiceImpl
All Implemented Interfaces:
org.ow2.petals.kernel.ws.api.DeploymentService, KernelWebService

public class DeploymentServiceImpl
extends java.lang.Object
implements org.ow2.petals.kernel.ws.api.DeploymentService, KernelWebService

Author:
chamerling - eBM WebSourcing

Constructor Summary
DeploymentServiceImpl()
           
 
Method Summary
 boolean deploy(java.lang.String saId)
          
 org.objectweb.fractal.api.Component getComponent()
          Get the associated fractal component.
 boolean shutdown(java.lang.String saId)
          
protected  void start()
           
 boolean start(java.lang.String saId)
          
protected  void stop()
           
 boolean stop(java.lang.String saId)
          
 boolean undeploy(java.lang.String saId)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentServiceImpl

public DeploymentServiceImpl()
Method Detail

start

protected void start()

stop

protected void stop()

deploy

public boolean deploy(java.lang.String saId)
               throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
deploy in interface org.ow2.petals.kernel.ws.api.DeploymentService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

shutdown

public boolean shutdown(java.lang.String saId)
                 throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
shutdown in interface org.ow2.petals.kernel.ws.api.DeploymentService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

start

public boolean start(java.lang.String saId)
              throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
start in interface org.ow2.petals.kernel.ws.api.DeploymentService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

stop

public boolean stop(java.lang.String saId)
             throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
stop in interface org.ow2.petals.kernel.ws.api.DeploymentService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

undeploy

public boolean undeploy(java.lang.String saId)
                 throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
undeploy in interface org.ow2.petals.kernel.ws.api.DeploymentService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

getComponent

public org.objectweb.fractal.api.Component getComponent()
Get the associated fractal component. This is used to get the WS interface since for now I do not have other solution to do that... This is as simple as adding that :
 @org.objectweb.fractal.fraclet.annotation.annotations.Service(name = "component")
 private Component component;
 
 public Component getComponent() {
     return this.component;
 }
 
 

Specified by:
getComponent in interface KernelWebService
Returns:


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.