|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ocltf.common.Contexts
Dictionary of configurable Context objects. Context objects are used for configuring Plugin instances.
Context
Field Summary | |
static java.lang.String |
DEFAULT
This is passed as the cartridge name for the lookupContext method if we wish to use a 'default' Context for Plugins. |
Constructor Summary | |
Contexts()
Constructs an instance of Contexts. |
Method Summary | |
void |
addContext(Context context)
Adds a mapping for a contexts name to a physical directory. |
static Contexts |
instance()
Returns the singleton instance of this Contexts |
java.lang.String |
lookupContextProperty(java.lang.String contextName,
java.lang.String propertyName)
Retrieves a property from the Context with the contextName. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT
Constructor Detail |
public Contexts()
Method Detail |
public static Contexts instance()
public void addContext(Context context)
context
- the Context to add to this instance.public java.lang.String lookupContextProperty(java.lang.String contextName, java.lang.String propertyName)
contextName
- name of the Plugin to which the contexdt appliespropertyName
- name of the context property to find.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |