org.apache.cocoon.core.osgi
Class ServiceManagerActivator
java.lang.Object
org.apache.cocoon.core.osgi.ServiceManagerActivator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
- Direct Known Subclasses:
- CoreBlockActivator
- public class ServiceManagerActivator
- extends Object
- implements org.osgi.framework.BundleActivator
- Since:
- 2.2
- Version:
- $Id: ServiceManagerActivator.java 312637 2005-10-10 13:00:42Z cziegeler $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceManagerActivator
public ServiceManagerActivator()
start
public void start(org.osgi.framework.BundleContext ctx)
throws Exception
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext ctx)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
getContext
protected Context getContext()
throws Exception
- Throws:
Exception
getConfiguration
protected Configuration getConfiguration(org.osgi.framework.BundleContext ctx)
throws Exception
- This method may be overwritten by subclasses to provide an own
configuration
- Throws:
Exception
addComponents
protected void addComponents(CoreServiceManager manager)
throws ServiceException,
ConfigurationException
- This method may be overwritten by subclasses to add aditional
components.
- Throws:
ServiceException
ConfigurationException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.