|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface I_CmsConfigurationParameterHandler
Used for classes that are configurable using
<param name="name">value</param>
in the XML configuration.
Such "param" nodes can be used to add some arbitary names parameters to classes that otherwise share the same XML configuration.
| Field Summary | |
|---|---|
static String |
ADD_PARAMETER_METHOD
The name of the addConfigurationParameter() method. |
static String |
INIT_CONFIGURATION_METHOD
The name of the initConfiguration() method. |
| Method Summary | |
|---|---|
void |
addConfigurationParameter(String paramName,
String paramValue)
Adds a configuration parameter to this parameter configurable class instance. |
Map |
getConfiguration()
Returns the configuration of this parameter configurable class instance, or null if the class does not need to be configured. |
void |
initConfiguration()
Initializes a configuration after all parameters have been added. |
| Field Detail |
|---|
static final String ADD_PARAMETER_METHOD
static final String INIT_CONFIGURATION_METHOD
| Method Detail |
|---|
void addConfigurationParameter(String paramName,
String paramValue)
paramName - the name of the parameterparamValue - the value for the parameterMap getConfiguration()
null if the class does not need to be configured.
All elements in the configuration are key, value String pairs,
set using the addConfigurationParameter(String, String) method
during initialization of the loader.
Implementations will (should) not to return a direct reference to the internal configuration but just a copy of it, to avoid unwanted external manipulation.
null
void initConfiguration()
throws CmsConfigurationException
CmsConfigurationException - if something goes wrong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||