|
||||||
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 arbitrary names parameters to classes that otherwise share the same XML configuration.
Field Summary | |
---|---|
static java.lang.String |
ADD_PARAMETER_METHOD
The name of the addConfigurationParameter() method. |
static java.lang.String |
INIT_CONFIGURATION_METHOD
The name of the initConfiguration() method. |
Method Summary | |
---|---|
void |
addConfigurationParameter(java.lang.String paramName,
java.lang.String paramValue)
Adds a configuration parameter to this parameter configurable class instance. |
java.util.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 java.lang.String ADD_PARAMETER_METHOD
static final java.lang.String INIT_CONFIGURATION_METHOD
Method Detail |
---|
void addConfigurationParameter(java.lang.String paramName, java.lang.String paramValue)
paramName
- the name of the parameterparamValue
- the value for the parameterjava.util.Map 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 |