org.opennms.netmgt.provision.adapters.link.endpoint.dao
Class DefaultEndPointConfigurationDao

java.lang.Object
  extended by org.opennms.netmgt.dao.castor.AbstractCastorConfigDao<EndPointTypeValidator,EndPointTypeValidator>
      extended by org.opennms.netmgt.provision.adapters.link.endpoint.dao.DefaultEndPointConfigurationDao
All Implemented Interfaces:
EndPointConfigurationDao, org.springframework.beans.factory.InitializingBean

public class DefaultEndPointConfigurationDao
extends AbstractCastorConfigDao<EndPointTypeValidator,EndPointTypeValidator>
implements EndPointConfigurationDao

DefaultEndPointConfigurationDao class.

Version:
$Id: $
Author:
ranger

Nested Class Summary
 
Nested classes/interfaces inherited from class org.opennms.netmgt.dao.castor.AbstractCastorConfigDao
AbstractCastorConfigDao.CastorReloadCallback
 
Constructor Summary
DefaultEndPointConfigurationDao()
          Constructor for DefaultEndPointConfigurationDao.
DefaultEndPointConfigurationDao(Class<EndPointTypeValidator> entityClass, String description)
          Constructor for DefaultEndPointConfigurationDao.
 
Method Summary
 void afterPropertiesSet()
          afterPropertiesSet
 EndPointTypeValidator getValidator()
          getValidator
 String getXsd()
          getXsd
protected  EndPointTypeValidator loadConfig(org.springframework.core.io.Resource resource)
          loadConfig
 void save(EndPointTypeValidator validator)
          save
 EndPointTypeValidator translateConfig(EndPointTypeValidator config)
          translateConfig
 
Methods inherited from class org.opennms.netmgt.dao.castor.AbstractCastorConfigDao
createLoadedLogMessage, getConfigResource, getContainer, getDescription, getReloadCheckInterval, log, setConfigResource, setReloadCheckInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEndPointConfigurationDao

public DefaultEndPointConfigurationDao()

Constructor for DefaultEndPointConfigurationDao.


DefaultEndPointConfigurationDao

public DefaultEndPointConfigurationDao(Class<EndPointTypeValidator> entityClass,
                                       String description)

Constructor for DefaultEndPointConfigurationDao.

Parameters:
entityClass - a Class object.
description - a String object.
Method Detail

translateConfig

public EndPointTypeValidator translateConfig(EndPointTypeValidator config)

translateConfig

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

getXsd

public String getXsd()

getXsd

Specified by:
getXsd in interface EndPointConfigurationDao
Returns:
a String object.

getValidator

public EndPointTypeValidator getValidator()

getValidator

Specified by:
getValidator in interface EndPointConfigurationDao
Returns:
a EndPointTypeValidator object.

save

public void save(EndPointTypeValidator validator)

save

Specified by:
save in interface EndPointConfigurationDao
Parameters:
validator - a EndPointTypeValidator object.

loadConfig

protected EndPointTypeValidator loadConfig(org.springframework.core.io.Resource resource)

loadConfig

Overrides:
loadConfig in class AbstractCastorConfigDao<EndPointTypeValidator,EndPointTypeValidator>
Parameters:
resource - a Resource object.
Returns:
a V object.

afterPropertiesSet

public void afterPropertiesSet()

afterPropertiesSet

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class AbstractCastorConfigDao<EndPointTypeValidator,EndPointTypeValidator>


Copyright © 2011. All Rights Reserved.