org.ow2.petals.ws
Class InstallationServiceImpl
java.lang.Object
org.ow2.petals.ws.InstallationServiceImpl
- All Implemented Interfaces:
- org.ow2.petals.kernel.ws.api.InstallationService, KernelWebService
public class InstallationServiceImpl
- extends java.lang.Object
- implements org.ow2.petals.kernel.ws.api.InstallationService, KernelWebService
- Author:
- chamerling - eBM WebSourcing
|
Method Summary |
org.objectweb.fractal.api.Component |
getComponent()
Get the associated fractal component. |
boolean |
install(java.lang.String componentId)
|
boolean |
install(java.net.URL url)
|
protected void |
start()
|
protected void |
stop()
|
boolean |
uninstall(java.lang.String componentId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstallationServiceImpl
public InstallationServiceImpl()
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:
install
public boolean install(java.lang.String componentId)
throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
-
- Specified by:
install in interface org.ow2.petals.kernel.ws.api.InstallationService
- Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
install
public boolean install(java.net.URL url)
throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
-
- Specified by:
install in interface org.ow2.petals.kernel.ws.api.InstallationService
- Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
uninstall
public boolean uninstall(java.lang.String componentId)
throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
-
- Specified by:
uninstall in interface org.ow2.petals.kernel.ws.api.InstallationService
- Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.