|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.germinus.easyconf.ComponentConfiguration
Contains the configuration of an EasyConf component including properties configuration and an object graph configuration.
Constructor Summary | |
ComponentConfiguration(java.lang.String componentName)
|
|
ComponentConfiguration(java.lang.String companyId,
java.lang.String componentName)
|
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getComponentName()
Get the name of the component which is associated with this configuration |
java.lang.Object |
getConfigurationObject()
Get an object which represents the configuration of the given component The object is populated using the digester rules defined in the file componentName.digesterRules.xml which must be found in the classpath (first it is searched in the context of the current thread and then in the context of the system classpath) |
ComponentProperties |
getProperties()
Get a typed map of the properties associated with this component |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComponentConfiguration(java.lang.String componentName)
public ComponentConfiguration(java.lang.String companyId, java.lang.String componentName)
Method Detail |
public java.lang.String getComponentName()
public java.lang.Object getConfigurationObject()
ConfigurationException
- if the object graph cannot be readpublic ComponentProperties getProperties()
public boolean equals(java.lang.Object obj)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |