org.apache.cocoon.core.osgi
Class CoreBlockActivator

java.lang.Object
  extended byorg.apache.cocoon.core.osgi.ServiceManagerActivator
      extended byorg.apache.cocoon.core.osgi.CoreBlockActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class CoreBlockActivator
extends ServiceManagerActivator

Since:
2.2
Version:
$Id: CoreBlockActivator.java 312637 2005-10-10 13:00:42Z cziegeler $

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

Constructor Detail

CoreBlockActivator

public CoreBlockActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext ctx)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class ServiceManagerActivator
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext ctx)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Overrides:
stop in class ServiceManagerActivator
Throws:
Exception

getContext

protected Context getContext()
                      throws Exception
Overrides:
getContext in class ServiceManagerActivator
Throws:
Exception

addComponents

protected void addComponents(CoreServiceManager manager)
                      throws ServiceException,
                             ConfigurationException
This method may be overwritten by subclasses to add aditional components.

Overrides:
addComponents in class ServiceManagerActivator
Throws:
ServiceException
ConfigurationException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.