org.apache.felix.ipojo.architecture
Class HandlerDescription

java.lang.Object
  extended by org.apache.felix.ipojo.architecture.HandlerDescription
Direct Known Subclasses:
DependencyHandlerDescription, ProvidedServiceHandlerDescription

public class HandlerDescription
extends java.lang.Object

Handler Description.

Author:
Felix Project Team

Constructor Summary
HandlerDescription(Handler handler)
          Constructor.
 
Method Summary
 org.apache.felix.ipojo.metadata.Element getHandlerInfo()
          Get handler information.
 java.lang.String getHandlerName()
          Get the handler name.
 boolean isValid()
          Check if the handler is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerDescription

public HandlerDescription(Handler handler)
Constructor.

Parameters:
handler - : handler.
Method Detail

isValid

public boolean isValid()
Check if the handler is valid.

Returns:
true if the handler is valid.

getHandlerName

public java.lang.String getHandlerName()
Get the handler name.

Returns:
the handler name (i.e. namespace).

getHandlerInfo

public org.apache.felix.ipojo.metadata.Element getHandlerInfo()
Get handler information.

Returns:
the handler information.