org.apache.openejb.server.osgi
Class ServiceManagerExtender
java.lang.Object
org.apache.openejb.server.ServiceManager
org.apache.openejb.server.osgi.ServiceManagerExtender
public class ServiceManagerExtender
- extends ServiceManager
- Version:
- $Rev$ $Date$
| Methods inherited from class org.apache.openejb.server.ServiceManager |
accept, get, getManager, getObjectName, initServer, initServers, isEnabled, manage, register, setServiceManager, start |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceManagerExtender
public ServiceManagerExtender(org.osgi.framework.BundleContext bundleContext)
init
public void init()
throws Exception
- Specified by:
init in class ServiceManager
- Throws:
Exception
start
public void start(boolean block)
throws ServiceException
- Description copied from class:
ServiceManager
- Start the services managed by this instance.
Services should not be started if
ServiceManager.stop() has already been called,
in which case a ServiceException should be thrown
- Specified by:
start in class ServiceManager
- Parameters:
block - A request to block
- Throws:
ServiceException - On error or if the manager has been stopped already
addedServers
protected void addedServers(org.osgi.framework.Bundle bundle,
Map<String,Properties> resources)
stop
public void stop()
- Specified by:
stop in class ServiceManager
removedServers
protected void removedServers(org.osgi.framework.Bundle bundle)
shutdown
protected void shutdown()
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.