org.opennms.netmgt.threshd
Class DefaultThresholdsDao

java.lang.Object
  extended by org.opennms.netmgt.threshd.DefaultThresholdsDao
All Implemented Interfaces:
ThresholdsDao, org.springframework.beans.factory.InitializingBean

public class DefaultThresholdsDao
extends Object
implements ThresholdsDao, org.springframework.beans.factory.InitializingBean

DefaultThresholdsDao class.

Version:
$Id: $
Author:
ranger

Constructor Summary
DefaultThresholdsDao()
           
 
Method Summary
 void afterPropertiesSet()
          afterPropertiesSet
 ThresholdGroup get(String name)
          get
 ThresholdingConfigFactory getThresholdingConfigFactory()
          getThresholdingConfigFactory
 ThresholdGroup merge(ThresholdGroup group)
          merge
 void setThresholdingConfigFactory(ThresholdingConfigFactory thresholdingConfigFactory)
          setThresholdingConfigFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultThresholdsDao

public DefaultThresholdsDao()
Method Detail

get

public ThresholdGroup get(String name)

get

Specified by:
get in interface ThresholdsDao
Parameters:
name - a String object.
Returns:
a ThresholdGroup object.

merge

public ThresholdGroup merge(ThresholdGroup group)

merge

Specified by:
merge in interface ThresholdsDao
Parameters:
group - a ThresholdGroup object.
Returns:
a ThresholdGroup object.

getThresholdingConfigFactory

public ThresholdingConfigFactory getThresholdingConfigFactory()

getThresholdingConfigFactory

Specified by:
getThresholdingConfigFactory in interface ThresholdsDao
Returns:
a ThresholdingConfigFactory object.

setThresholdingConfigFactory

public void setThresholdingConfigFactory(ThresholdingConfigFactory thresholdingConfigFactory)

setThresholdingConfigFactory

Parameters:
thresholdingConfigFactory - a ThresholdingConfigFactory object.

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

afterPropertiesSet

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception - if any.


Copyright © 2011. All Rights Reserved.