org.codehaus.groovy.grails.web.sitemesh
Class Grails5535Factory

java.lang.Object
  extended by com.opensymphony.module.sitemesh.Factory
      extended by com.opensymphony.module.sitemesh.factory.BaseFactory
          extended by org.codehaus.groovy.grails.web.sitemesh.Grails5535Factory
All Implemented Interfaces:
com.opensymphony.module.sitemesh.PageParserSelector

public class Grails5535Factory
extends com.opensymphony.module.sitemesh.factory.BaseFactory

TODO remove this once http://jira.opensymphony.com/browse/SIM-263 is fixed. Replaces DefaultFactory to fix http://jira.codehaus.org/browse/GRAILS-5535. There are two changes, both replacing toURL() with toURI().toURL().


Field Summary
static long configCheckMillis
           
(package private)  File configFile
           
(package private)  String configFileName
           
(package private)  long configLastModified
           
(package private)  Map configProps
           
(package private)  File excludesFile
           
(package private)  String excludesFileName
           
 
Fields inherited from class com.opensymphony.module.sitemesh.factory.BaseFactory
config, decoratorMapper, excludeUrls, pageParsers
 
Constructor Summary
Grails5535Factory(com.opensymphony.module.sitemesh.Config config)
           
 
Method Summary
 void refresh()
          Check if configuration file has been modified, and if so reload it.
 
Methods inherited from class com.opensymphony.module.sitemesh.factory.BaseFactory
addExcludeUrl, clearDecoratorMappers, clearExcludeUrls, clearParserMappings, getDecoratorMapper, getDecoratorMapper, getPageParser, isPathExcluded, mapParser, pushDecoratorMapper, shouldParsePage
 
Methods inherited from class com.opensymphony.module.sitemesh.Factory
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configFileName

String configFileName

configFile

File configFile

configLastModified

long configLastModified

configCheckMillis

public static long configCheckMillis

configProps

Map configProps

excludesFileName

String excludesFileName

excludesFile

File excludesFile
Constructor Detail

Grails5535Factory

public Grails5535Factory(com.opensymphony.module.sitemesh.Config config)
Method Detail

refresh

public void refresh()
Check if configuration file has been modified, and if so reload it.

Specified by:
refresh in class com.opensymphony.module.sitemesh.Factory