org.opennms.netmgt.dao
Interface MicroblogConfigurationDao

All Known Implementing Classes:
DefaultMicroblogConfigurationDao

public interface MicroblogConfigurationDao

DAO interface for Microblog configuration

Version:
$Id: $
Author:
Jeff Gehlbach

Method Summary
 MicroblogConfiguration getConfig()
          getConfig
 MicroblogProfile getDefaultProfile()
          getDefaultProfile
 MicroblogProfile getProfile(String name)
          getProfile
 void reloadConfiguration()
          The underlying Castor based DAO abstraction in the default implementation doesn't provide access to the container so this method is defined so that access to the container doesn't have to be exposed and a reload can still be controlled by the user.
 

Method Detail

getConfig

MicroblogConfiguration getConfig()

getConfig

Returns:
a MicroblogConfiguration object.

getProfile

MicroblogProfile getProfile(String name)

getProfile

Parameters:
name - a String object.
Returns:
a MicroblogProfile object.

getDefaultProfile

MicroblogProfile getDefaultProfile()

getDefaultProfile

Returns:
a MicroblogProfile object.

reloadConfiguration

void reloadConfiguration()
                         throws org.springframework.dao.DataAccessResourceFailureException
The underlying Castor based DAO abstraction in the default implementation doesn't provide access to the container so this method is defined so that access to the container doesn't have to be exposed and a reload can still be controlled by the user. Automatically reading in new values if the file changes is a different use case from expecting the services to alter their state based on a configuration change. This method will most likely be used with event processing and possibly in the ReST API.

Throws:
org.springframework.dao.DataAccessResourceFailureException - if any.


Copyright © 2011. All Rights Reserved.