public class ArchitectureHandler extends PrimitiveHandler implements Architecture, InstanceStateListener
HANDLER_TYPEHANDLER_LEVEL_PROPERTY, HANDLER_NAME_PROPERTY, HANDLER_NAMESPACE_PROPERTY, HANDLER_TYPE_PROPERTY, m_instance, m_isValidARCHITECTURE_INSTANCE| Constructor and Description |
|---|
ArchitectureHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Configure the handler.
|
InstanceDescription |
getInstanceDescription()
Get the instance description.
|
void |
start()
Start method.
|
void |
stateChanged(ComponentInstance instance,
int newState)
The instance lifecycle listener callback.
|
void |
stop()
Stop method.
|
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, stateChanged, warn, warnpublic void configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
configure in class Handlermetadata - : the metadata of the componentconfiguration - : the instance configurationHandler.configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)public void stop()
stop in class HandlerHandler.stop()public void start()
start in class HandlerHandler.start()public InstanceDescription getInstanceDescription()
getInstanceDescription in interface ArchitectureArchitecture.getInstanceDescription()public void stateChanged(ComponentInstance instance, int newState)
stateChanged in interface InstanceStateListenerinstance - the changing instance the instance, meaningless in our case.newState - the new instance state the new instance state.Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.