|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.fortress.impl.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. |
Constructor Summary | |
ComponentHandlerMetaData(java.lang.String name,
java.lang.String classname,
Configuration configuration,
boolean lazyActivation)
Deprecated. in favor of construction which takes an integer activation. |
|
ComponentHandlerMetaData(java.lang.String name,
java.lang.String classname,
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 |
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
Constructor Detail |
public ComponentHandlerMetaData(java.lang.String name, java.lang.String classname, 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, 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 Configuration getConfiguration()
public int getActivation()
public boolean isLazyActivation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |