org.apache.felix.ipojo.handlers.architecture
Class ArchitectureHandler

java.lang.Object
  extended by org.apache.felix.ipojo.Handler
      extended by org.apache.felix.ipojo.PrimitiveHandler
          extended by org.apache.felix.ipojo.handlers.architecture.ArchitectureHandler
All Implemented Interfaces:
Architecture, FieldInterceptor, MethodInterceptor

public class ArchitectureHandler
extends PrimitiveHandler
implements Architecture

Architecture Handler : do reflection on your component.

Author:
Felix Project Team

Field Summary
 
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
ArchitectureHandler()
           
 
Method Summary
 void configure(org.apache.felix.ipojo.metadata.Element metadata, java.util.Dictionary configuration)
          Configure the handler.
 InstanceDescription getInstanceDescription()
          Get the instance description.
 void start()
          Start method.
 void stop()
          Stop method.
 
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
 

Constructor Detail

ArchitectureHandler

public ArchitectureHandler()
Method Detail

configure

public void configure(org.apache.felix.ipojo.metadata.Element metadata,
                      java.util.Dictionary configuration)
Configure the handler.

Specified by:
configure in class Handler
Parameters:
metadata - : the metadata of the component
configuration - : the instance configuration
See Also:
Handler.configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)

stop

public void stop()
Stop method.

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

start

public void start()
Start method.

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

getInstanceDescription

public InstanceDescription getInstanceDescription()
Get the instance description.

Specified by:
getInstanceDescription in interface Architecture
Returns:
the instance description
See Also:
org.apache.felix.ipojo.architecture.Architecture#getDescription()