|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.dao.castor.AbstractCastorConfigDao<MicroblogConfiguration,MicroblogConfiguration>
org.opennms.netmgt.dao.castor.DefaultMicroblogConfigurationDao
public class DefaultMicroblogConfigurationDao
Default implementation of MicroblogConfiguration containing utility methods for manipulating
the MicroblogNotificationStrategy and companion classes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.opennms.netmgt.dao.castor.AbstractCastorConfigDao |
|---|
AbstractCastorConfigDao.CastorReloadCallback |
| Constructor Summary | |
|---|---|
DefaultMicroblogConfigurationDao()
Constructor for DefaultMicroblogConfigurationDao. |
|
| Method Summary | |
|---|---|
MicroblogConfiguration |
getConfig()
getConfig |
MicroblogProfile |
getDefaultProfile()
getDefaultProfile |
MicroblogProfile |
getProfile(String name)
getProfile |
void |
reloadConfiguration()
The exception boils up from the container class The container class should indicate this. |
MicroblogConfiguration |
translateConfig(MicroblogConfiguration castorConfig)
translateConfig |
| Methods inherited from class org.opennms.netmgt.dao.castor.AbstractCastorConfigDao |
|---|
afterPropertiesSet, createLoadedLogMessage, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, log, setConfigResource, setReloadCheckInterval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMicroblogConfigurationDao()
Constructor for DefaultMicroblogConfigurationDao.
| Method Detail |
|---|
public MicroblogConfiguration getConfig()
getConfig
getConfig in interface MicroblogConfigurationDaoMicroblogConfiguration object.public MicroblogConfiguration translateConfig(MicroblogConfiguration castorConfig)
translateConfig
translateConfig in class AbstractCastorConfigDao<MicroblogConfiguration,MicroblogConfiguration>castorConfig - a K object.
public void reloadConfiguration()
throws org.springframework.dao.DataAccessResourceFailureException
reloadConfiguration in interface MicroblogConfigurationDaoorg.springframework.dao.DataAccessResourceFailureException - if any.public MicroblogProfile getDefaultProfile()
getDefaultProfile
getDefaultProfile in interface MicroblogConfigurationDaoMicroblogProfile object.public MicroblogProfile getProfile(String name)
getProfile
getProfile in interface MicroblogConfigurationDaoname - a String object.
MicroblogProfile object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||