|
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.ComponentBase
com.jcorporate.expresso.kernel.ContainerComponentBase
com.jcorporate.expresso.core.dataobjects.jdbc.JdbcPersistenceManager
| Constructor Summary | |
JdbcPersistenceManager()
|
|
| Method Summary | |
void |
configure(Configuration newConfig)
Configure the service. |
void |
destroy()
Called upon destruction of the service. |
String |
getConfigName()
|
String |
getDataURL()
|
String |
getPassword()
|
String |
getUserName()
|
void |
initialize()
Initialize the component, this is called before the component receives any configuration information. |
void |
reconfigure(Configuration newConfig)
Reconfigures the service during runtime without having to restart the container. |
void |
setConfigName(String configName)
|
void |
setDataURL(String dataURL)
|
void |
setPassword(String password)
|
void |
setUserName(String userName)
|
| Methods inherited from class com.jcorporate.expresso.kernel.ContainerComponentBase |
getContainerImplementation, locateComponent, setContainerImplementation |
| Methods inherited from class com.jcorporate.expresso.kernel.ComponentBase |
getMetaData, getMetadataLocation, getParent, setMetaData, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jcorporate.expresso.kernel.ExpressoComponent |
getMetaData, getParent, setParent |
| Constructor Detail |
public JdbcPersistenceManager()
| Method Detail |
public void initialize()
ComponentLifecycle
initialize in interface ComponentLifecycle
public void configure(Configuration newConfig)
throws ConfigurationException
ComponentLifecycle
configure in interface ComponentLifecyclenewConfig - a read only dynabean containing all the needed configuration.
ConfigurationException - if for some reason the Component cannot cope
with the configuration sent to it. If this exception is thrown then ZERO
reconfiguration takes place. Configure() must be an all or nothing 'transaction'
public void reconfigure(Configuration newConfig)
throws ConfigurationException
ComponentLifecycleReconfigures the service during runtime without having to restart the container.
Reconfigure is done this way vs. bean/property setters because sometimes components need special property setting orders and it is not easily possible to determine what order to set things in. This is the responsibility of the component
reConfigure() should be done in a transactional manner.... by that, we mean that if the reconfiguration fails, the component should revert to its previous state and continue operation
reconfigure in interface ComponentLifecyclenewConfig - a read only dynabean containing all the needed configuration.
ConfigurationException - if for some reason the Component cannot cope
with the configuration sent to it. If this exception is thrown then ZERO
reconfiguration takes place. Configure() must be an all or nothing 'transaction'public void destroy()
ComponentLifecycle
destroy in interface ComponentLifecyclepublic void setDataURL(String dataURL)
public String getDataURL()
public void setUserName(String userName)
public String getUserName()
public void setPassword(String password)
public String getPassword()
public void setConfigName(String configName)
public String getConfigName()
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||