|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.turbine.services.assemblerbroker.util.python.PythonBaseFactory
org.apache.turbine.services.assemblerbroker.util.python.PythonActionFactory
public class PythonActionFactory
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.
| Field Summary |
|---|
| Fields inherited from class org.apache.turbine.services.assemblerbroker.util.python.PythonBaseFactory |
|---|
PYTHON_CONFIG_FILE, PYTHON_PATH |
| Constructor Summary | |
|---|---|
PythonActionFactory()
|
|
| Method Summary | |
|---|---|
Assembler |
getAssembler(java.lang.String name)
Get an Assembler. |
Loader |
getLoader()
Get the loader for this type of assembler |
| Methods inherited from class org.apache.turbine.services.assemblerbroker.util.python.PythonBaseFactory |
|---|
getAssembler, getCacheSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PythonActionFactory()
| Method Detail |
|---|
public Assembler getAssembler(java.lang.String name)
throws java.lang.Exception
name - name of the requested Assembler
java.lang.Exception - generic exceptionpublic Loader getLoader()
getLoader in interface AssemblerFactorygetLoader in class PythonBaseFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||