org.ow2.petals.ws
Class ServiceAssemblyStateServiceImpl

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

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

Author:
chamerling - eBM WebSourcing

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

Constructor Detail

ServiceAssemblyStateServiceImpl

public ServiceAssemblyStateServiceImpl()
Method Detail

start

protected void start()

stop

protected void stop()

isShutdown

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

Specified by:
isShutdown in interface org.ow2.petals.kernel.ws.api.ServiceAssemblyStateService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

isStarted

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

Specified by:
isStarted in interface org.ow2.petals.kernel.ws.api.ServiceAssemblyStateService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

isStopped

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

Specified by:
isStopped in interface org.ow2.petals.kernel.ws.api.ServiceAssemblyStateService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

isUnknown

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

Specified by:
isUnknown in interface org.ow2.petals.kernel.ws.api.ServiceAssemblyStateService
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.