|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.Handler
org.apache.felix.ipojo.PrimitiveHandler
org.apache.felix.ipojo.handler.extender.ExtenderModelHandler
public class ExtenderModelHandler
Handler automating extender pattern. The component using this handler is notified when an handler with a special manifest extension is detected, the component is notified. When a managed handler leaves, the component is also notified.
Field Summary | |
---|---|
static java.lang.String |
NAMESPACE
Handler namespace. |
Fields inherited from class org.apache.felix.ipojo.PrimitiveHandler |
---|
HANDLER_TYPE |
Fields inherited from class org.apache.felix.ipojo.Handler |
---|
HANDLER_LEVEL_PROPERTY, HANDLER_NAME_PROPERTY, HANDLER_NAMESPACE_PROPERTY, HANDLER_TYPE_PROPERTY, m_instance, m_isValid |
Constructor Summary | |
---|---|
ExtenderModelHandler()
|
Method Summary | |
---|---|
void |
configure(org.apache.felix.ipojo.metadata.Element elem,
java.util.Dictionary dict)
Configure method. |
void |
start()
Start the handler. |
void |
stop()
Stop the handler. |
Methods inherited from class org.apache.felix.ipojo.PrimitiveHandler |
---|
attach, getFactory, getHandler, getInstanceManager, getLogger, getMetadata, getPojoMetadata, onCreation, onEntry, onError, onExit, onFinally, onGet, onSet, setFactory |
Methods inherited from class org.apache.felix.ipojo.Handler |
---|
error, error, getDescription, getHandlerManager, getValidity, info, initializeComponentFactory, isValid, reconfigure, setValidity, stateChanged, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAMESPACE
Constructor Detail |
---|
public ExtenderModelHandler()
Method Detail |
---|
public void configure(org.apache.felix.ipojo.metadata.Element elem, java.util.Dictionary dict) throws org.apache.felix.ipojo.ConfigurationException
configure
in class org.apache.felix.ipojo.Handler
elem
- : component type element.dict
- : instance configuration.
org.apache.felix.ipojo.ConfigurationException
- : the configuration is not valid.Handler.configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)
public void start()
start
in class org.apache.felix.ipojo.Handler
Handler.start()
public void stop()
stop
in class org.apache.felix.ipojo.Handler
Handler.stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |