Package org.jolokia.server.core.config
Interface ConfigExtractor
public interface ConfigExtractor
Interface used for extracting configuration from various backend
configuration like ServletContext or ServletConfig
- Since:
- 07.02.13
- Author:
- roland
-
Method Summary
Modifier and TypeMethodDescriptiongetNames()Get all configuration namegetParameter(String pKeyS) Get the parameter for a certain
-
Method Details
-
getNames
Enumeration<String> getNames()Get all configuration name- Returns:
- enumeration of config names
-
getParameter
Get the parameter for a certain- Parameters:
pKeyS- string representation of the config key to fetch- Returns:
- the value of the configuration parameter or
nullif no such parameter exists
-