org.ops4j.pax.scanner.all.internal
Class CompositeActivator

java.lang.Object
  extended by org.ops4j.pax.scanner.all.internal.CompositeActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class CompositeActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator

Composite activator for all embedded scanners and scanner service.

Since:
1.1.0, September 30, 2009
Author:
Alin Dreghiciu (adreghiciu@gmail.com)

Constructor Summary
CompositeActivator()
          Constructor.
 
Method Summary
 void start(org.osgi.framework.BundleContext bundleContext)
          Start all composed activators.
 void stop(org.osgi.framework.BundleContext bundleContext)
          Stop all composed activators.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeActivator

public CompositeActivator()
Constructor. Create all activators that makes up this composite.

Method Detail

start

public void start(org.osgi.framework.BundleContext bundleContext)
           throws java.lang.Exception
Start all composed activators.

Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext bundleContext)
          throws java.lang.Exception
Stop all composed activators.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.