|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BandanaManager
A plugin manager is responsible for retrieving plugins and modules, as well as managing plugin loading and state.
| Method Summary | |
|---|---|
String |
exportValues(BandanaContext context)
Get all the values stored in bandana for this context. |
Object |
getValue(BandanaContext context,
String key)
Get the configuration object, starting with the given context and looking upwards. |
Object |
getValue(BandanaContext context,
String key,
boolean lookUp)
Get the configuration object, starting with the given context |
void |
importValues(BandanaContext context,
String xmlValues)
Replace all the values stored in bandana for this context with values read from the XML string supplied, which is guaranteed to have been produced by exportValues(). |
void |
init()
Initialise the bandana manager. |
void |
setValue(BandanaContext context,
String key,
Object value)
Set a configuration object with the given context. |
| Method Detail |
|---|
void init()
void setValue(BandanaContext context,
String key,
Object value)
context - The context to store this value inkey - The key of the objectvalue - The value to be stored
Object getValue(BandanaContext context,
String key)
context - The context to start looking inkey - The key of the BandanaConfigurationObject object
Object getValue(BandanaContext context,
String key,
boolean lookUp)
context - The context to start looking inkey - The key of the BandanaConfigurationObject objectlookUp - Whether or not to look up the context hierarchy if no context is found
String exportValues(BandanaContext context)
void importValues(BandanaContext context,
String xmlValues)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||