public class BundleContextHandler extends PrimitiveHandler
HANDLER_TYPE
HANDLER_LEVEL_PROPERTY, HANDLER_NAME_PROPERTY, HANDLER_NAMESPACE_PROPERTY, HANDLER_TYPE_PROPERTY, m_instance, m_isValid
Constructor and Description |
---|
BundleContextHandler() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Configures the handler.
|
void |
onCreation(java.lang.Object instance)
Callback method called when an instance of the component is created, but
before someone can use it.
|
void |
start()
Starts the handler
This method starts the management.
|
void |
stop()
Stops the handler
This method stops the management.
|
attach, getConstructorParameter, getConstructorParameterType, getFactory, getHandler, getInstanceManager, getLogger, getPojoMetadata, onEntry, onError, onExit, onFinally, onGet, onSet, setFactory
debug, error, error, getDescription, getHandlerManager, getValidity, info, initializeComponentFactory, isValid, reconfigure, setValidity, stateChanged, warn, warn
public void configure(org.apache.felix.ipojo.metadata.Element metadata, java.util.Dictionary configuration) throws ConfigurationException
configure
in class Handler
metadata
- the metadata of the componentconfiguration
- the instance configurationConfigurationException
- if the metadata are not correct.public void stop()
public void start()
public void onCreation(java.lang.Object instance)
onCreation
in class PrimitiveHandler
instance
- the created instanceCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.