Web Flavor
|
|
class
TemplateManager(sourceDir : java.io.File, parentClassLoader : java.lang.ClassLoader, updateCheckInterval : Long, staticMode : Boolean)
extends
AnyRefMethod Summary | |
def
|
clear
: Unit
Clear templates.
|
def
|
get
(servletPath : java.lang.String, name : java.lang.String) : scala.Option[Template]
Get template instance.
|
def
|
put
(servletPath : java.lang.String, createdTime : Long, template : Template) : Template
Regist template.
|
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Class Summary | |
class
|
TemplateCache
(val createdTime : Long, val checkedTime : Long, val template : scala.Option[Template]) extends AnyRef
Template cache info.
|
Method Details |
def
clear : Unit
def
get(servletPath : java.lang.String, name : java.lang.String) : scala.Option[Template]
servletPath -
Servlet path.name -
page name.
def
put(servletPath : java.lang.String, createdTime : Long, template : Template) : Template
servletPath -
Servlet path.createdTime -
Template source lastmodified.flavor -
Template instance.
Web Flavor
|
|