|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.cod.plugins.ConfigurationPropertiesMapper
public class ConfigurationPropertiesMapper
| Field Summary | |
|---|---|
protected java.lang.String |
configMapUrl
Location of the configuration map |
static java.lang.String |
DefaultConfigMapUrl
Location of the default configuration map |
protected java.util.Hashtable |
javaToConfig
Map: java -> configuration properties |
protected LoggingTool |
logger
The logger |
| Constructor Summary | |
|---|---|
ConfigurationPropertiesMapper()
|
|
ConfigurationPropertiesMapper(java.lang.String configMapUrl)
|
|
| Method Summary | |
|---|---|
protected void |
createConfigMapping()
Creates the configuration map |
protected java.lang.String |
getClassField(java.lang.String str)
Obtains the value of the specified static string field |
void |
initialize()
Initializes the object. |
java.util.Properties |
javaToConfiguration(java.util.Properties p)
|
protected Mapping |
readConfigMapping()
Reads the configuration map |
void |
setConfigMapUrl(java.lang.String url)
Sets the configuration map location |
void |
setLogger(LoggingTool logger)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DefaultConfigMapUrl
protected java.lang.String configMapUrl
protected LoggingTool logger
protected java.util.Hashtable javaToConfig
| Constructor Detail |
|---|
public ConfigurationPropertiesMapper()
public ConfigurationPropertiesMapper(java.lang.String configMapUrl)
| Method Detail |
|---|
public void initialize()
throws java.lang.Exception
IInitialize
initialize in interface IInitializejava.lang.Exceptionpublic java.util.Properties javaToConfiguration(java.util.Properties p)
protected java.lang.String getClassField(java.lang.String str)
str - Fully qualified field name (package.class.field)
protected void createConfigMapping()
throws java.lang.Exception
java.lang.Exception
protected Mapping readConfigMapping()
throws java.lang.Exception
java.lang.Exceptionpublic void setConfigMapUrl(java.lang.String url)
url - public void setLogger(LoggingTool logger)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||