org.ow2.petals.ws
Class InformationServiceImpl
java.lang.Object
org.ow2.petals.ws.InformationServiceImpl
- All Implemented Interfaces:
- org.ow2.petals.kernel.ws.api.InformationService, KernelWebService
public class InformationServiceImpl
- extends java.lang.Object
- implements KernelWebService, org.ow2.petals.kernel.ws.api.InformationService
- Author:
- chamerling - eBM WebSourcing
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InformationServiceImpl
public InformationServiceImpl()
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:
getType
public java.lang.String getType()
throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
-
- Specified by:
getType in interface org.ow2.petals.kernel.ws.api.InformationService
- Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
getVersion
public java.lang.String getVersion()
throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
-
- Specified by:
getVersion in interface org.ow2.petals.kernel.ws.api.InformationService
- Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
getLocalTime
public java.util.Date getLocalTime()
throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
-
- Specified by:
getLocalTime in interface org.ow2.petals.kernel.ws.api.InformationService
- Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.