|
||||||||||
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.composite.CompositeHandler
public abstract class CompositeHandler
Composite Handler Abstract Class. An composite handler need implements these method to be notified of lifecycle change...
Field Summary | |
---|---|
static String |
HANDLER_TYPE
Composite 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 | |
---|---|
CompositeHandler()
|
Method Summary | |
---|---|
protected void |
attach(ComponentInstance instance)
Set the manager. |
CompositeManager |
getCompositeManager()
|
Handler |
getHandler(String name)
Get a plugged handler of the same container. |
Logger |
getLogger()
Gets the logger to use in the handler. |
void |
setFactory(Factory factory)
Sets the factory attached to this handler object. |
Methods inherited from class org.apache.felix.ipojo.Handler |
---|
configure, debug, error, error, getDescription, getHandlerManager, getValidity, info, initializeComponentFactory, isValid, reconfigure, setValidity, start, stateChanged, stop, 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 String HANDLER_TYPE
Constructor Detail |
---|
public CompositeHandler()
Method Detail |
---|
protected final void attach(ComponentInstance instance)
attach
in class Handler
instance
- : the composite manager.public final void setFactory(Factory factory)
Handler
setFactory
in class Handler
factory
- the factory to attach.public final Logger getLogger()
Handler
getLogger
in class Handler
public final CompositeManager getCompositeManager()
public final Handler getHandler(String name)
getHandler
in class Handler
name
- : name of the handler to find (class name).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |