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:
ConstructorInjector, FieldInterceptor, MethodInterceptor

public class WhiteBoardPatternHandler
extends 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 String NAMESPACE
          The 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(Element elem, Dictionary dict)
          Configure method.
 void start()
          Start method.
 void stop()
          Stop method.
 
Methods inherited from class org.apache.felix.ipojo.PrimitiveHandler
attach, getConstructorParameter, getConstructorParameterType, 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
 

Field Detail

NAMESPACE

public static final String NAMESPACE
The handler namespace.

See Also:
Constant Field Values
Constructor Detail

WhiteBoardPatternHandler

public WhiteBoardPatternHandler()
Method Detail

configure

public void configure(Element elem,
                      Dictionary dict)
               throws ConfigurationException
Configure method. Parses the metadata to analyze white-board-pattern elements.

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

start

public void start()
Start method. Starts managers.

Specified by:
start in class Handler
See Also:
Handler.start()

stop

public void stop()
Stop method. Stops managers.

Specified by:
stop in class Handler
See Also:
Handler.stop()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.