| Constructor and Description |
|---|
AbstractDaoMaster()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterConfiguration() |
void |
beforeConfiguration() |
void |
configure(org.apache.commons.configuration.Configuration cfg) |
DaoFactory |
getFactory()
Returns the factory that this master is registered for.
|
String |
getProperty(String key)
Returns the property of this DAO master.
|
Iterator<Object> |
getPropertyKeys()
Returns all keys of the properties.
|
URL |
getPropertyUrl(String key)
Returns the property as a URL
|
void |
setFactory(DaoFactory factory)
Sets the factory that this master is registered for.
|
void |
setProperty(String key,
String value)
Sets a property for the DAO master.
|
public DaoFactory getFactory()
getFactory in interface DaoMasterpublic void setFactory(DaoFactory factory)
setFactory in interface DaoMasterfactory - the factorypublic void configure(org.apache.commons.configuration.Configuration cfg)
throws org.apache.commons.configuration.ConfigurationException
configure in interface rsbaselib.configuration.Configurableorg.apache.commons.configuration.ConfigurationExceptionpublic void beforeConfiguration()
beforeConfiguration in interface rsbaselib.configuration.Configurablepublic void afterConfiguration()
afterConfiguration in interface rsbaselib.configuration.Configurablepublic String getProperty(String key)
key - keypublic URL getPropertyUrl(String key) throws MalformedURLException
key - keyMalformedURLException - when the property was not a URLpublic void setProperty(String key, String value)
key - keyvalue - valueCopyright © 2013. All Rights Reserved.