public class QueuingActivationProcessor extends ForwardingBundleProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUNDLE_ACTIVATION_JOB_TYPE
Identify the kind of job submitted to the QueueService.
|
Constructor and Description |
---|
QueuingActivationProcessor(BundleProcessor delegate,
QueueService queueService)
Creates an instance of the queuing bundle processor
|
Modifier and Type | Method and Description |
---|---|
void |
activate(org.osgi.framework.Bundle bundle)
A bundle is starting.
|
protected BundleProcessor |
delegate()
Implementation must implement this method to retrieve the wrapped bundle processor.
|
deactivate, start, stop
public static final java.lang.String BUNDLE_ACTIVATION_JOB_TYPE
public QueuingActivationProcessor(BundleProcessor delegate, QueueService queueService)
delegate
- the bundle processor used by the submitted jobqueueService
- the used queue serviceprotected BundleProcessor delegate()
ForwardingBundleProcessor
delegate
in class ForwardingBundleProcessor
public void activate(org.osgi.framework.Bundle bundle)
activate
in interface BundleProcessor
activate
in class ForwardingBundleProcessor
bundle
- the bundleCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.