|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.clients.web.extensions.service.Services
public class Services
Utility class for starting and stopping services.
Field Summary | |
---|---|
static String |
EXTENSION_POINT_ID
|
private static boolean |
initialised
|
private static Logger |
log
|
private static Settings |
settings
|
Constructor Summary | |
---|---|
Services()
|
Method Summary | |
---|---|
static void |
close()
Stop all services. |
private static ExtensionsInvoker<ServiceControllerAction> |
getInvoker(Extension extension)
|
static void |
init(Registry registry,
Settings s)
Initialise and start the installed services. |
(package private) static void |
start(Extension ext)
Start services as a result of an administrator has installed a new extension or updated/enabled an existing on. |
(package private) static void |
stop(Extension ext)
Start services as a result of an administrator has uninstalled an extension or is updating/disabling an existing on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final Logger log
public static final String EXTENSION_POINT_ID
private static boolean initialised
private static Settings settings
Constructor Detail |
---|
public Services()
Method Detail |
---|
public static void init(Registry registry, Settings s)
public static void close()
static void start(Extension ext)
ext
- The extension, or null to start all enabled extensionstatic void stop(Extension ext)
ext
- The extension, or null to stop all enabled extensionprivate static ExtensionsInvoker<ServiceControllerAction> getInvoker(Extension extension)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |