Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.turbine.services.assemblerbroker.util.python
Class PythonScreenFactory  view PythonScreenFactory download PythonScreenFactory.java

java.lang.Object
  extended byorg.apache.turbine.services.assemblerbroker.util.python.PythonBaseFactory
      extended byorg.apache.turbine.services.assemblerbroker.util.python.PythonScreenFactory
All Implemented Interfaces:
org.apache.turbine.services.assemblerbroker.util.AssemblerFactory

public class PythonScreenFactory
extends PythonBaseFactory

A screen factory that attempts to load a python class in the JPython interpreter and execute it as a Turbine screen. The JPython script should inherit from Turbine Screen or one of its subclasses.

Version:
$Id: PythonScreenFactory.java 264148 2005-08-29 14:21:04Z henning $

Field Summary
 
Fields inherited from class org.apache.turbine.services.assemblerbroker.util.python.PythonBaseFactory
PYTHON_CONFIG_FILE, PYTHON_PATH
 
Constructor Summary
PythonScreenFactory()
           
 
Method Summary
 org.apache.turbine.modules.Assembler getAssembler(java.lang.String name)
          Get an Assembler.
 
Methods inherited from class org.apache.turbine.services.assemblerbroker.util.python.PythonBaseFactory
getAssembler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PythonScreenFactory

public PythonScreenFactory()
Method Detail

getAssembler

public org.apache.turbine.modules.Assembler getAssembler(java.lang.String name)
                                                  throws java.lang.Exception
Get an Assembler.