org.ow2.petals.ws
Class RuntimeServiceImpl

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

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

Author:
chamerling - eBM WebSourcing

Constructor Summary
RuntimeServiceImpl()
           
 
Method Summary
 org.objectweb.fractal.api.Component getComponent()
          Get the associated fractal component.
 boolean ping()
          
 void shutdownContainer()
          
protected  void start()
           
protected  void stop()
           
 void stopContainer()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeServiceImpl

public RuntimeServiceImpl()
Method Detail

start

protected void start()

stop

protected void stop()

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:

ping

public boolean ping()
             throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
ping in interface org.ow2.petals.kernel.ws.api.RuntimeService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

shutdownContainer

public void shutdownContainer()
                       throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
shutdownContainer in interface org.ow2.petals.kernel.ws.api.RuntimeService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

stopContainer

public void stopContainer()
                   throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
stopContainer in interface org.ow2.petals.kernel.ws.api.RuntimeService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException


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