|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.fortress.impl.ComponentHandlerMetaData
public final class ComponentHandlerMetaData
A class holding metadata about a component handler.
Field Summary | |
---|---|
static int |
ACTIVATION_BACKGROUND
Component activation should be initiated during container initialization, but can be done asynchronously in a background thread. |
static int |
ACTIVATION_INLINE
Component activation should be performed during container initialization. |
static int |
ACTIVATION_LAZY
Component activation will be delayed until the first time the component is looked up. |
private int |
m_activation
|
private java.lang.String |
m_classname
|
private org.apache.avalon.framework.configuration.Configuration |
m_configuration
|
private java.lang.String |
m_name
|
Constructor Summary | |
---|---|
ComponentHandlerMetaData(java.lang.String name,
java.lang.String classname,
org.apache.avalon.framework.configuration.Configuration configuration,
boolean lazyActivation)
Deprecated. in favor of construction which takes an integer activation. |
|
ComponentHandlerMetaData(java.lang.String name,
java.lang.String classname,
org.apache.avalon.framework.configuration.Configuration configuration,
int activation)
Creation of a new impl handler meta data instance. |
Method Summary | |
---|---|
int |
getActivation()
Returns the handler activation policy |
java.lang.String |
getClassname()
Returns the handler classname |
org.apache.avalon.framework.configuration.Configuration |
getConfiguration()
Returns the handler configuration |
java.lang.String |
getName()
Returns the handler name |
boolean |
isLazyActivation()
Deprecated. in favor of getActivation() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ACTIVATION_INLINE
public static final int ACTIVATION_BACKGROUND
public static final int ACTIVATION_LAZY
private final java.lang.String m_name
private final java.lang.String m_classname
private final org.apache.avalon.framework.configuration.Configuration m_configuration
private final int m_activation
Constructor Detail |
---|
public ComponentHandlerMetaData(java.lang.String name, java.lang.String classname, org.apache.avalon.framework.configuration.Configuration configuration, int activation)
name
- the handler nameclassname
- the handler classnameconfiguration
- the handler configurationactivation
- the activation policy, one of
ComponentHandlerMetaData.ACTIVATION_BACKGROUND,
ComponentHandlerMetaData.ACTIVATION_INLINE,
ComponentHandlerMetaData.ACTIVATION_LAZY.public ComponentHandlerMetaData(java.lang.String name, java.lang.String classname, org.apache.avalon.framework.configuration.Configuration configuration, boolean lazyActivation)
name
- the handler nameclassname
- the handler classnameconfiguration
- the handler configurationlazyActivation
- the activation policy, true implies
ACTIVATION_LAZY, and false implies
ACTIVATION_BACKGROUNDMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getClassname()
public org.apache.avalon.framework.configuration.Configuration getConfiguration()
public int getActivation()
public boolean isLazyActivation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |