org.opennms.test
Class WebAppTestConfigBean

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

public class WebAppTestConfigBean
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-svclayer.xml in the web application. In particular, this sets up system properties that are needed by Spring. System properties are not set until afterPropertiesSet() is called.

Author:
DJ Gregor

Constructor Summary
WebAppTestConfigBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 String getLayoutApplicationsVertically()
           
 String getWebAppLogsDirectory()
           
 void setLayoutApplicationsVertically(String layoutApplicationsVertically)
           
 void setWebAppLogsDirectory(String webAppLogsDirectory)
           
 
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

WebAppTestConfigBean

public WebAppTestConfigBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class DaoTestConfigBean

getLayoutApplicationsVertically

public String getLayoutApplicationsVertically()

setLayoutApplicationsVertically

public void setLayoutApplicationsVertically(String layoutApplicationsVertically)

getWebAppLogsDirectory

public String getWebAppLogsDirectory()

setWebAppLogsDirectory

public void setWebAppLogsDirectory(String webAppLogsDirectory)


Copyright © 2009. All Rights Reserved.