|
||||||||||
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 | |
---|---|
Iterable<String> |
getKeys(BandanaContext context)
Gets all the keys for entries under the given 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 |
init()
Initialise the bandana manager. |
void |
removeValue(BandanaContext context,
String key)
Remove the configuration object, using the given context. |
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 storedObject 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
Iterable<String> getKeys(BandanaContext context)
context
- the context for which to find keys
void removeValue(BandanaContext context, String key)
context
- the context to look inkey
- the key of the configuration object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |