org.ow2.petals.ws
Class JBIArtefactsServiceImpl

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

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

Author:
chamerling - eBM WebSourcing

Field Summary
 
Fields inherited from interface org.ow2.petals.kernel.ws.api.JBIArtefactsService
BINDING, COMPONENT, ENGINE
 
Constructor Summary
JBIArtefactsServiceImpl()
           
 
Method Summary
 org.objectweb.fractal.api.Component getComponent()
          Get the associated fractal component.
 java.util.List<org.ow2.petals.kernel.ws.api.to.Component> getComponents()
          
 java.util.List<org.ow2.petals.kernel.ws.api.to.ServiceAssembly> getServiceAssemblies()
          
 java.util.List<org.ow2.petals.kernel.ws.api.to.SharedLib> getSharedLibraries()
          
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

JBIArtefactsServiceImpl

public JBIArtefactsServiceImpl()
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:

getServiceAssemblies

public java.util.List<org.ow2.petals.kernel.ws.api.to.ServiceAssembly> getServiceAssemblies()
                                                                                     throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
getServiceAssemblies in interface org.ow2.petals.kernel.ws.api.JBIArtefactsService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

getComponents

public java.util.List<org.ow2.petals.kernel.ws.api.to.Component> getComponents()
                                                                        throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
getComponents in interface org.ow2.petals.kernel.ws.api.JBIArtefactsService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

getSharedLibraries

public java.util.List<org.ow2.petals.kernel.ws.api.to.SharedLib> getSharedLibraries()
                                                                             throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
getSharedLibraries in interface org.ow2.petals.kernel.ws.api.JBIArtefactsService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException


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