org.ow2.petals.ws
Class EndpointServiceImpl

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

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

Author:
chamerling - eBM WebSourcing

Constructor Summary
EndpointServiceImpl()
           
 
Method Summary
 org.objectweb.fractal.api.Component getComponent()
          Get the associated fractal component.
 java.util.List<org.ow2.petals.kernel.ws.api.to.Endpoint> getEndpoints()
          
 java.util.List<org.ow2.petals.kernel.ws.api.to.Endpoint> query(org.ow2.petals.kernel.ws.api.to.EndpointQuery query)
          
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

EndpointServiceImpl

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

getEndpoints

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

Specified by:
getEndpoints in interface org.ow2.petals.kernel.ws.api.EndpointService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

query

public java.util.List<org.ow2.petals.kernel.ws.api.to.Endpoint> query(org.ow2.petals.kernel.ws.api.to.EndpointQuery query)
                                                               throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

Specified by:
query in interface org.ow2.petals.kernel.ws.api.EndpointService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException


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