Package net.sf.basedb.opengrid.service
Class OpenGridServiceFactory
java.lang.Object
net.sf.basedb.opengrid.service.OpenGridServiceFactory
- All Implemented Interfaces:
ActionFactory<ServiceControllerAction>
public class OpenGridServiceFactory extends Object implements ActionFactory<ServiceControllerAction>
Action factory and service controller for the
OpenGridService
. This
hooks into the BASE web client's "services" extension point making it
possible to start and stop the service from the web interface.
Do not use this class from other extensions.- Since:
- 1.0
- Author:
- nicklas
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
OpenGridServiceFactory.OpenGridServiceControllerAction
-
Constructor Summary
Constructors Constructor Description OpenGridServiceFactory()
-
Method Summary
Modifier and Type Method Description ServiceControllerAction[]
getActions(InvokationContext<? super ServiceControllerAction> context)
boolean
prepareContext(InvokationContext<? super ServiceControllerAction> context)
-
Constructor Details
-
OpenGridServiceFactory
public OpenGridServiceFactory()
-
-
Method Details
-
prepareContext
- Specified by:
prepareContext
in interfaceActionFactory<ServiceControllerAction>
-
getActions
public ServiceControllerAction[] getActions(InvokationContext<? super ServiceControllerAction> context)- Specified by:
getActions
in interfaceActionFactory<ServiceControllerAction>
-