org.ow2.carol.osgi.internal
Class Activator

java.lang.Object
  extended by org.ow2.carol.osgi.internal.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends Object
implements org.osgi.framework.BundleActivator

A Activator is ...

Author:
Guillaume Sauthier

Constructor Summary
Activator()
          Default constructor.
 
Method Summary
 void start(org.osgi.framework.BundleContext context)
          Register all the known InitialContextFactories of this bundle.
 void stop(org.osgi.framework.BundleContext context)
          Retract all previously registered InitialContextFactory services.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Default constructor.

Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
Register all the known InitialContextFactories of this bundle.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
context - OSGi BundleContext
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws Exception
Retract all previously registered InitialContextFactory services.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
context - OSGi BundleContext
Throws:
Exception - never thrown


Copyright © 2012 OW2 Consortium. All Rights Reserved.