|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.memphis.ccrg.lida.framework.strategies.StrategyImpl
public abstract class StrategyImpl
Abstract implementation of Strategy
Constructor Summary | |
---|---|
StrategyImpl()
|
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,?> params)
This method initializes the module with parameters specified in agent.xml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrategyImpl()
Method Detail |
---|
public void init(java.util.Map<java.lang.String,?> params)
Initializable
init
in interface Initializable
params
- Map of parameters indexed by String namespublic void init()
Initializable
init
in interface Initializable
public java.lang.Object getParam(java.lang.String name, java.lang.Object defaultValue)
Initializable
getParam
in interface Initializable
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 |