org.opennms.test
Class AvailabilityReportTestConfigBean

java.lang.Object
  extended by org.opennms.test.DaoTestConfigBean
      extended by org.opennms.test.AvailabilityReportTestConfigBean
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class AvailabilityReportTestConfigBean
extends DaoTestConfigBean
implements org.springframework.beans.factory.InitializingBean

Support class to help with configuration that needs to happen in integration tests before Spring attempts to do context initialization of applicationContext-reporting.xml. In particular, this sets up system properties that are needed by Spring. System properties are not set until afterPropertiesSet() is called.

Version:
$Id: $
Author:
Jonathan Sartin

Constructor Summary
AvailabilityReportTestConfigBean()
          Constructor for AvailabilityReportTestConfigBean.
 
Method Summary
 void afterPropertiesSet()
          afterPropertiesSet
 void setRerpotDirectory(String reportDirectory)
          setRerpotDirectory
 
Methods inherited from class org.opennms.test.DaoTestConfigBean
getRelativeHomeDirectory, getRelativeRrdBaseDirectory, getRrdBinary, setRelativeHomeDirectory, setRelativeRrdBaseDirectory, setRrdBinary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailabilityReportTestConfigBean

public AvailabilityReportTestConfigBean()

Constructor for AvailabilityReportTestConfigBean.

Method Detail

afterPropertiesSet

public void afterPropertiesSet()

afterPropertiesSet

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class DaoTestConfigBean

setRerpotDirectory

public void setRerpotDirectory(String reportDirectory)

setRerpotDirectory

Parameters:
reportDirectory - a String object.


Copyright © 2011. All Rights Reserved.