public class ChainedBundleProcessor extends java.lang.Object implements BundleProcessor
create(org.apache.felix.ipojo.extender.internal.BundleProcessor...)
method.Modifier and Type | Method and Description |
---|---|
void |
activate(org.osgi.framework.Bundle bundle)
A bundle is starting.
|
static ChainedBundleProcessor |
create(BundleProcessor... processors)
Creates a new chained bundle processor.
|
void |
deactivate(org.osgi.framework.Bundle bundle)
A bundle is stopping.
|
java.util.List<BundleProcessor> |
getProcessors()
Gets the list of processors.
|
void |
start()
The iPOJO bundle is starting.
|
void |
stop()
The iPOJO bundle is stopping.
|
public static ChainedBundleProcessor create(BundleProcessor... processors)
processors
- the set of processor to chain. Cannot be null
or empty.java.lang.IllegalArgumentException
- if the given processor list is null
or empty.public java.util.List<BundleProcessor> getProcessors()
public void activate(org.osgi.framework.Bundle bundle)
BundleProcessor.activate(org.osgi.framework.Bundle)
method on all chained processors.activate
in interface BundleProcessor
bundle
- the bundlepublic void deactivate(org.osgi.framework.Bundle bundle)
BundleProcessor.deactivate(org.osgi.framework.Bundle)
method on all chained processors.deactivate
in interface BundleProcessor
bundle
- the bundlepublic void start()
Lifecycle.start()
method on all chained
processors.public void stop()
Lifecycle.stop()
method on all chained
processors.Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.