org.opennms.netmgt.dao.castor
Class DefaultTl1ConfigurationDao

java.lang.Object
  extended by org.opennms.netmgt.dao.castor.AbstractCastorConfigDao<Tl1dConfiguration,Tl1dConfiguration>
      extended by org.opennms.netmgt.dao.castor.DefaultTl1ConfigurationDao
All Implemented Interfaces:
Tl1ConfigurationDao, org.springframework.beans.factory.InitializingBean

public class DefaultTl1ConfigurationDao
extends AbstractCastorConfigDao<Tl1dConfiguration,Tl1dConfiguration>
implements Tl1ConfigurationDao

DefaultTl1ConfigurationDao

Version:
$Id: $
Author:
brozow

Nested Class Summary
 
Nested classes/interfaces inherited from class org.opennms.netmgt.dao.castor.AbstractCastorConfigDao
AbstractCastorConfigDao.CastorReloadCallback
 
Constructor Summary
DefaultTl1ConfigurationDao()
          Constructor for DefaultTl1ConfigurationDao.
 
Method Summary
 List<Tl1Element> getElements()
          getElements
 Tl1dConfiguration translateConfig(Tl1dConfiguration castorConfig)
          translateConfig
 void update()
          update
 
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

DefaultTl1ConfigurationDao

public DefaultTl1ConfigurationDao()

Constructor for DefaultTl1ConfigurationDao.

Method Detail

getElements

public List<Tl1Element> getElements()

getElements

Specified by:
getElements in interface Tl1ConfigurationDao
Returns:
a List object.

update

public void update()
            throws org.springframework.dao.DataAccessResourceFailureException

update

Specified by:
update in interface Tl1ConfigurationDao
Throws:
org.springframework.dao.DataAccessResourceFailureException - if any.

translateConfig

public Tl1dConfiguration translateConfig(Tl1dConfiguration castorConfig)

translateConfig

Specified by:
translateConfig in class AbstractCastorConfigDao<Tl1dConfiguration,Tl1dConfiguration>
Parameters:
castorConfig - a K object.
Returns:
a V object.


Copyright © 2011. All Rights Reserved.