public class ServiceManagerExtender extends ServiceManager
| Constructor and Description |
|---|
ServiceManagerExtender(org.osgi.framework.BundleContext bundleContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addedServers(org.osgi.framework.Bundle bundle,
Map<String,Properties> resources) |
void |
init() |
protected void |
removedServers(org.osgi.framework.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, startpublic ServiceManagerExtender(org.osgi.framework.BundleContext bundleContext)
public void init()
throws Exception
init in class ServiceManagerExceptionpublic void start(boolean block)
throws ServiceException
ServiceManagerServiceManager.stop() has already been called,
in which case a ServiceException should be thrownstart in class ServiceManagerblock - A request to blockServiceException - On error or if the manager has been stopped alreadyprotected void addedServers(org.osgi.framework.Bundle bundle,
Map<String,Properties> resources)
public void stop()
stop in class ServiceManagerprotected void removedServers(org.osgi.framework.Bundle bundle)
protected void shutdown()
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.