|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.EmbeddedComponent
com.jcorporate.expresso.core.db.DBConfig
Database Configuration Component
| Constructor Summary | |
DBConfig()
Default constructor. |
|
| Method Summary | |
void |
configure(Configuration newConfig)
Configuration Event. |
void |
destroy()
Destroy method. |
List |
getAllConfigurations()
Retrieves a list of all JDBCConfig objects. |
com.jcorporate.expresso.core.db.config.JDBCConfig |
getCurrentConfig()
Retrieves the current Configuration |
String |
getMetadataName()
Retrieve the name of the metadata that is embedded in the parent component. |
List |
getSupportedConfigurations()
Retrieves a list of all supported configuration keys and types as retrieved from the metadata for this component. |
void |
initialize()
Initialize Lifecycle Event |
void |
reconfigure(Configuration newConfig)
ReconfigurationEvent In this implementation there is no actual configuration parameters, but we get our configuration info from the parent. |
| Methods inherited from class com.jcorporate.expresso.kernel.EmbeddedComponent |
getMetaData, getParent, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DBConfig()
| Method Detail |
public String getMetadataName()
getMetadataName in class EmbeddedComponentpublic void initialize()
initialize in interface ComponentLifecycle
public void configure(Configuration newConfig)
throws ConfigurationException
configure in interface ComponentLifecyclenewConfig - the new configuration bean.
ConfigurationException - upon configuration error (such as bad
nesting, for example)
public void reconfigure(Configuration newConfig)
throws ConfigurationException
reconfigure in interface ComponentLifecyclenewConfig - the new configuration bean.
ConfigurationException - upon configuration error (such as bad
nesting, for example)public void destroy()
destroy in interface ComponentLifecyclepublic List getSupportedConfigurations()
public List getAllConfigurations()
public com.jcorporate.expresso.core.db.config.JDBCConfig getCurrentConfig()
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||