org.apache.turbine.services.assemblerbroker.util.python
Class PythonBaseFactory

java.lang.Object
  |
  +--org.apache.turbine.services.assemblerbroker.util.python.PythonBaseFactory
All Implemented Interfaces:
AssemblerFactory
Direct Known Subclasses:
PythonActionFactory, PythonLayoutFactory, PythonNavigationFactory, PythonPageFactory, PythonScreenFactory

public abstract class PythonBaseFactory
extends java.lang.Object
implements AssemblerFactory

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.


Constructor Summary
PythonBaseFactory()
           
 
Method Summary
 Assembler getAssembler(java.lang.String subDirectory, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface org.apache.turbine.services.assemblerbroker.util.AssemblerFactory
getAssembler
 

Constructor Detail

PythonBaseFactory

public PythonBaseFactory()
Method Detail

getAssembler

public Assembler getAssembler(java.lang.String subDirectory,
                              java.lang.String name)
                       throws java.lang.Exception


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.