Class DaoTestConfigBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    public class DaoTestConfigBean
    extends Object
    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-dao.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:
    DJ Gregor
    • Constructor Detail

      • DaoTestConfigBean

        public DaoTestConfigBean()

        Constructor for DaoTestConfigBean.

    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()

        afterPropertiesSet

        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • getRelativeHomeDirectory

        public String getRelativeHomeDirectory()

        getRelativeHomeDirectory

        Returns:
        a String object.
      • setRelativeHomeDirectory

        public void setRelativeHomeDirectory​(String relativeHomeDirectory)

        setRelativeHomeDirectory

        Parameters:
        relativeHomeDirectory - a String object.
      • getRelativeRrdBaseDirectory

        public String getRelativeRrdBaseDirectory()

        getRelativeRrdBaseDirectory

        Returns:
        a String object.
      • setRelativeRrdBaseDirectory

        public void setRelativeRrdBaseDirectory​(String rrdBaseDirectory)

        setRelativeRrdBaseDirectory

        Parameters:
        rrdBaseDirectory - a String object.
      • getRrdBinary

        public String getRrdBinary()

        getRrdBinary

        Returns:
        a String object.
      • setRrdBinary

        public void setRrdBinary​(String rrdBinary)

        setRrdBinary

        Parameters:
        rrdBinary - a String object.