|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Initializable
An object which can be configured in particular ways.
Method Summary | |
---|---|
java.lang.Object |
getParam(java.lang.String name,
java.lang.Object defaultValue)
A convenience method to read parameters from the Map of properties set with the init() method. |
void |
init()
This is a convenience method to initialize this Object. |
void |
init(java.util.Map<java.lang.String,?> parameters)
This method initializes the module with parameters specified in agent.xml |
Method Detail |
---|
void init(java.util.Map<java.lang.String,?> parameters)
parameters
- Map of parameters indexed by String namesvoid init()
java.lang.Object getParam(java.lang.String name, java.lang.Object defaultValue)
name
- the parameter namedefaultValue
- the default value to be returned if the parameter doesn't exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |