public class LifecycleCallbackHandler extends PrimitiveHandler
HANDLER_TYPEHANDLER_LEVEL_PROPERTY, HANDLER_NAME_PROPERTY, HANDLER_NAMESPACE_PROPERTY, HANDLER_TYPE_PROPERTY, m_instance, m_isValid| Constructor and Description |
|---|
LifecycleCallbackHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Configure the handler.
|
void |
start()
Start the handler.
|
void |
stateChanged(int state)
When the state change call the associated callback.
|
void |
stop()
Stop the handler.
|
attach, getConstructorParameter, getConstructorParameterType, getFactory, getHandler, getInstanceManager, getLogger, getPojoMetadata, onCreation, onEntry, onError, onExit, onFinally, onGet, onSet, setFactorydebug, error, error, getDescription, getHandlerManager, getValidity, info, initializeComponentFactory, isValid, reconfigure, setValidity, warn, warnpublic void configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
throws ConfigurationException
configure in class Handlermetadata - : the component type metadataconfiguration - : the instance configurationConfigurationException - : one callback metadata is not correct (either the transition or the method are not correct).Handler.configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)public void start()
start in class HandlerHandler.start()public void stop()
stop in class HandlerHandler.stop()public void stateChanged(int state)
stateChanged in class Handlerstate - : the new instance state.Handler.stateChanged(int)Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.