Class EngineConfigurationFactoryDefault

  • All Implemented Interfaces:
    EngineConfigurationFactory
    Direct Known Subclasses:
    EngineConfigurationFactoryServlet

    public class EngineConfigurationFactoryDefault
    extends java.lang.Object
    implements EngineConfigurationFactory
    This is a default implementation of EngineConfigurationFactory. It is user-overrideable by a system property without affecting the caller. If you decide to override it, use delegation if you want to inherit the behaviour of this class as using class extension will result in tight loops. That is, your class should implement EngineConfigurationFactory and keep an instance of this class in a member field and delegate methods to that instance when the default behaviour is required.
    Author:
    Richard A. Sitze, Glyn Normington (glyn@apache.org)
    • Field Detail

      • log

        protected static org.apache.commons.logging.Log log
      • OPTION_CLIENT_CONFIG_FILE

        public static final java.lang.String OPTION_CLIENT_CONFIG_FILE
        See Also:
        Constant Field Values
      • OPTION_SERVER_CONFIG_FILE

        public static final java.lang.String OPTION_SERVER_CONFIG_FILE
        See Also:
        Constant Field Values
      • CLIENT_CONFIG_FILE

        protected static final java.lang.String CLIENT_CONFIG_FILE
        See Also:
        Constant Field Values
      • SERVER_CONFIG_FILE

        protected static final java.lang.String SERVER_CONFIG_FILE
        See Also:
        Constant Field Values
      • clientConfigFile

        protected java.lang.String clientConfigFile
      • serverConfigFile

        protected java.lang.String serverConfigFile
    • Constructor Detail

      • EngineConfigurationFactoryDefault

        protected EngineConfigurationFactoryDefault()
        Create the default engine configuration and detect whether the user has overridden this with their own.