public class ComponentsBundleProcessor extends java.lang.Object implements BundleProcessor
IPOJO_HEADER
and IPOJO_HEADER_ALT
header from the bundle manifest.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_INSTANCE_ATTRIBUTE
The attribute used in instance configuration specifying the targeted component (i.e.
|
static java.lang.String |
IPOJO_HEADER
iPOJO Component Type and Instance declaration header.
|
static java.lang.String |
IPOJO_HEADER_ALT
iPOJO Component Type and Instance declaration header
(alternative).
|
Constructor and Description |
---|
ComponentsBundleProcessor(Log logger)
Creates the component bundle processor.
|
Modifier and Type | Method and Description |
---|---|
void |
activate(org.osgi.framework.Bundle bundle)
A bundle is starting.
|
void |
deactivate(org.osgi.framework.Bundle bundle)
A bundle is stopping.
|
void |
start()
Start the service.
|
void |
stop()
Stop the service.
|
public static final java.lang.String IPOJO_HEADER
public static final java.lang.String IPOJO_HEADER_ALT
public static final java.lang.String COMPONENT_INSTANCE_ATTRIBUTE
public ComponentsBundleProcessor(Log logger)
logger
- the logger.public void activate(org.osgi.framework.Bundle bundle)
activate
in interface BundleProcessor
bundle
- the bundlepublic void deactivate(org.osgi.framework.Bundle bundle)
deactivate
in interface BundleProcessor
bundle
- the bundleCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.