Package org.opennms.netmgt.config
Class DefaultPollerConfigDao
- java.lang.Object
-
- org.opennms.netmgt.config.DefaultPollerConfigDao
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class DefaultPollerConfigDao extends java.lang.Object implements org.springframework.beans.factory.InitializingBean
DefaultPollerConfigDao class.
- Version:
- $Id: $
- Author:
- DJ Gregor
-
-
Constructor Summary
Constructors Constructor Description DefaultPollerConfigDao()
Constructor for DefaultPollerConfigDao.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetorg.springframework.core.io.Resource
getConfigResource()
getConfigResourcePollerConfig
getPollerConfig()
getPollerConfigvoid
setConfigResource(org.springframework.core.io.Resource configResource)
setConfigResource
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
- if any.
-
getPollerConfig
public PollerConfig getPollerConfig()
getPollerConfig
- Returns:
- a
PollerConfig
object.
-
getConfigResource
public org.springframework.core.io.Resource getConfigResource()
getConfigResource
- Returns:
- a
Resource
object.
-
setConfigResource
public void setConfigResource(org.springframework.core.io.Resource configResource)
setConfigResource
- Parameters:
configResource
- aResource
object.
-
-