public class ServiceManagerExtender extends ServiceManager
Constructor and Description |
---|
ServiceManagerExtender(BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
addedServers(Bundle bundle,
java.util.Map<java.lang.String,java.util.Properties> resources) |
void |
init() |
protected void |
removedServers(Bundle bundle) |
protected void |
shutdown() |
void |
start(boolean block)
Start the services managed by this instance.
|
void |
stop() |
accept, get, getManager, getObjectName, initServer, initServers, isEnabled, manage, register, setServiceManager, start
public ServiceManagerExtender(BundleContext bundleContext)
public void init() throws java.lang.Exception
init
in class ServiceManager
java.lang.Exception
public void start(boolean block) throws ServiceException
ServiceManager
ServiceManager.stop()
has already been called,
in which case a ServiceException should be thrownstart
in class ServiceManager
block
- A request to blockServiceException
- On error or if the manager has been stopped alreadyprotected void addedServers(Bundle bundle, java.util.Map<java.lang.String,java.util.Properties> resources)
public void stop()
stop
in class ServiceManager
protected void removedServers(Bundle bundle)
protected void shutdown()