org.apache.felix.ipojo.handler.wbp
Class WhiteBoardPatternHandler

java.lang.Object
  extended by org.apache.felix.ipojo.Handler
      extended by org.apache.felix.ipojo.PrimitiveHandler
          extended by org.apache.felix.ipojo.handler.wbp.WhiteBoardPatternHandler
All Implemented Interfaces:
org.apache.felix.ipojo.FieldInterceptor, org.apache.felix.ipojo.MethodInterceptor

public class WhiteBoardPatternHandler
extends org.apache.felix.ipojo.PrimitiveHandler

White board pattern handler. This handler aims to automate white board patterns by invoking callback when needed.

Author:
Felix Project Team

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
WhiteBoardPatternHandler()
           
 
Method Summary
 void configure(org.apache.felix.ipojo.metadata.Element elem, java.util.Dictionary dict)
          Configure method.
 void start()
          Start method : start managers.
 void stop()
          Stop method : stop managers.
 
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

NAMESPACE

public static final java.lang.String NAMESPACE
Handler namespace.

See Also:
Constant Field Values
Constructor Detail

WhiteBoardPatternHandler

public WhiteBoardPatternHandler()
Method Detail

configure

public void configure(org.apache.felix.ipojo.metadata.Element elem,
                      java.util.Dictionary dict)
               throws org.apache.felix.ipojo.ConfigurationException
Configure method. It will parse metadata to analyze org.apache.felix.ipojo.white-board-pattern:wbp element.

Specified by:
configure in class org.apache.felix.ipojo.Handler
Parameters:
elem - : component type description
dict - : instance description
Throws:
org.apache.felix.ipojo.ConfigurationException - : occurs when the description is not valid.
See Also:
Handler.configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)

start

public void start()
Start method : start managers.

Specified by:
start in class org.apache.felix.ipojo.Handler
See Also:
Handler.start()

stop

public void stop()
Stop method : stop managers.

Specified by:
stop in class org.apache.felix.ipojo.Handler
See Also:
Handler.stop()