Class DefaultFactory

  • All Implemented Interfaces:
    PageParserSelector

    public class DefaultFactory
    extends BaseFactory
    DefaultFactory, reads configuration from the sitemesh.configfile init param, or /WEB-INF/sitemesh.xml if not specified, or uses the default configuration if sitemesh.xml does not exist.

    To use the sitemesh.configfile parameter, add the following to your web.xml:

     <context-param>
          <param-name>sitemesh.configfile</param-name>
          <param-value>/WEB-INF/etc/sitemesh.xml</param-value>
      </context-param>
     

    Version:
    $Revision: 1.8 $
    Author:
    Joe Walnes, Mathias Bogaert
    • Field Detail

      • configFileName

        String configFileName
      • configFile

        File configFile
      • configLastModified

        long configLastModified
      • configLastCheck

        private long configLastCheck
      • configCheckMillis

        public static long configCheckMillis
      • configProps

        Map configProps
      • excludesFileName

        String excludesFileName
      • excludesFile

        File excludesFile
    • Constructor Detail

      • DefaultFactory

        public DefaultFactory​(Config config)