|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.memphis.ccrg.lida.framework.initialization.GlobalInitializer
public class GlobalInitializer
This class is intended for use by Initializers during initialization only. It allows Initializers to access the same attributes. Attributes can be added by an Initializer and retrieved later by any other Initializer
Method Summary | |
---|---|
void |
clearAttributes()
Deletes all attributes |
java.lang.Object |
getAttribute(java.lang.String key)
Returns the value associated with a key |
static GlobalInitializer |
getInstance()
Returns the sole instance of this class. |
java.lang.Object |
removeAttribute(java.lang.String key)
Removes the attribute associated with |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Sets an attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GlobalInitializer getInstance()
public java.lang.Object getAttribute(java.lang.String key)
key
- the key
public void setAttribute(java.lang.String key, java.lang.Object value)
key
- the key of the attributevalue
- the value to associate with keypublic java.lang.Object removeAttribute(java.lang.String key)
key
- the key
public void clearAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |