org.apache.felix.ipojo.handler.extender
Class ExtenderModelHandler
java.lang.Object
org.apache.felix.ipojo.Handler
org.apache.felix.ipojo.PrimitiveHandler
org.apache.felix.ipojo.handler.extender.ExtenderModelHandler
- All Implemented Interfaces:
- FieldInterceptor, MethodInterceptor
public class ExtenderModelHandler
- extends PrimitiveHandler
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.
- Author:
- Felix Project Team
Methods inherited from class org.apache.felix.ipojo.PrimitiveHandler |
attach, getFactory, getHandler, getInstanceManager, getLogger, getPojoMetadata, onCreation, onEntry, onError, onExit, onFinally, onGet, onSet, setFactory |
Methods inherited from class org.apache.felix.ipojo.Handler |
debug, 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 |
NAMESPACE
public static final String NAMESPACE
- The handler namespace.
- See Also:
- Constant Field Values
ExtenderModelHandler
public ExtenderModelHandler()
configure
public void configure(Element elem,
Dictionary dict)
throws ConfigurationException
- Configures the handler.
- Specified by:
configure
in class Handler
- Parameters:
elem
- the component type element.dict
- the instance configuration.
- Throws:
ConfigurationException
- if the configuration is not valid.- See Also:
Handler.configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)
start
public void start()
- Starts the handler.
- Specified by:
start
in class Handler
- See Also:
Handler.start()
stop
public void stop()
- Stops the handler.
- Specified by:
stop
in class Handler
- See Also:
Handler.stop()
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.