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

All Implemented Interfaces:
    org.apache.avalon.framework.configuration.Configurable, 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

Implementation of the java flow interpreter.
Field Summary
public static final  String USER_GLOBAL_SCOPE    Key for storing a global scope object in the Cocoon session 
Fields inherited from org.apache.cocoon.components.flow.AbstractInterpreter:
avalonContext,  needResolve,  context,  manager,  continuationsMgr,  reloadScripts,  checkTime
Method from org.apache.cocoon.components.flow.java.JavaInterpreter Summary:
callFunction,   configure,   handleContinuation,   initialize
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.java.JavaInterpreter Detail:
 public  void callFunction(String function,
    List params,
    Redirector redirector) throws Exception 
    Calls a Java function, passing params as its arguments. In addition to this, it makes available the parameters through the cocoon.parameters Java array (indexed by the parameter names).
 public  void configure(Configuration config) throws ConfigurationException 
 public  void handleContinuation(String id,
    List params,
    Redirector redirector) throws Exception 
 public synchronized  void initialize() throws Exception