Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » components » flow » [javadoc | source]
org.apache.cocoon.components.flow
abstract public class: CompilingInterpreter [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
      org.apache.cocoon.components.flow.AbstractInterpreter
         org.apache.cocoon.components.flow.CompilingInterpreter

All Implemented Interfaces:
    org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.thread.SingleThreaded, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.component.Component, org.apache.avalon.framework.context.Contextualizable, Interpreter

Direct Known Subclasses:
    FOM_JavaScriptInterpreter

This is a base class for all interpreters compiling the scripts
Nested Class Summary:
protected class  CompilingInterpreter.ScriptSourceEntry   
Field Summary
protected  SourceResolver sourceresolver    A source resolver 
protected  Map compiledScripts    Mapping of String objects (source uri's) to ScriptSourceEntry's 
Fields inherited from org.apache.cocoon.components.flow.AbstractInterpreter:
avalonContext,  needResolve,  context,  manager,  continuationsMgr,  reloadScripts,  checkTime
Method from org.apache.cocoon.components.flow.CompilingInterpreter Summary:
compileScript,   dispose,   service
Methods from org.apache.cocoon.components.flow.AbstractInterpreter:
configure,   contextualize,   dispose,   forwardTo,   getInterpreterID,   process,   register,   service,   setInterpreterID
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.flow.CompilingInterpreter Detail:
 abstract protected Script compileScript(Context context,
    Scriptable scope,
    Source source) throws Exception
    TODO - This is a little bit strange, the interpreter calls get Script on the ScriptSourceEntry which in turn calls compileScript on the interpreter. I think we need more refactoring here.
 public  void dispose() 
 public  void service(ServiceManager manager) throws ServiceException 
    Composable