jp.ne.cappuccino.keisuken.servlet.flavor

class FlavorManager

[source: jp/ne/cappuccino/keisuken/servlet/flavor/FlavorManager.scala]

class FlavorManager(classPath : java.lang.String, sourceDir : java.io.File, libSourceDir : java.io.File, tempDir : java.io.File, parentClassLoader : java.lang.ClassLoader, updateCheckInterval : Long, staticMode : Boolean)
extends AnyRef
Flavor manager.
Author
NISHIMOTO Keisuke.
Version
0.2.8, 2008/09/29, 2008/10/14.
Method Summary
def clear : Unit
Clear flavors.
def compileAll : Unit
Compile all Flavors.
def get (servletPath : java.lang.String) : scala.Option[scala.Function4]
Get flavor instance.
def put (servletPath : java.lang.String, createdTime : Long, flavor : scala.Function4) : scala.Function4
Regist flavor.
def service (context : Context, request : Request, response : Response, session : scala.collection.mutable.Map) : AnyRef
Service management.
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 ExceptionFlavor (exception : java.lang.Throwable) extends (Context, Request, Response, scala.collection.mutable.Map) => AnyRef
class FlavorCache (val createdTime : Long, val checkedTime : Long, val flavor : scala.Option[scala.Function4]) extends AnyRef
Flavor cache info.
Method Details
def clear : Unit
Clear flavors.

def get(servletPath : java.lang.String) : scala.Option[scala.Function4]
Get flavor instance.
Parameters
servletPath - Servlet path.
Returns
Flavor instance.

def put(servletPath : java.lang.String, createdTime : Long, flavor : scala.Function4) : scala.Function4
Regist flavor.
Parameters
servletPath - Servlet path.
createdTime - Flavor source lastmodified.
flavor - Flavor instance.
Returns
Registed Flavor instance

def compileAll : Unit
Compile all Flavors.

def service(context : Context, request : Request, response : Response, session : scala.collection.mutable.Map) : AnyRef
Service management.
Parameters
context - Context.
request - Request.
response - Response.
session - Session.