org.apache.cocoon.core.osgi
Class ServiceManagerActivator

java.lang.Object
  extended byorg.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 $

Constructor Summary
ServiceManagerActivator()
           
 
Method Summary
protected  void addComponents(CoreServiceManager manager)
          This method may be overwritten by subclasses to add aditional components.
protected  Configuration getConfiguration(org.osgi.framework.BundleContext ctx)
          This method may be overwritten by subclasses to provide an own configuration
protected  Context getContext()
           
 void start(org.osgi.framework.BundleContext ctx)
           
 void stop(org.osgi.framework.BundleContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceManagerActivator

public ServiceManagerActivator()
Method Detail

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.