|
||||||||||
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<Page>
org.apache.turbine.services.assemblerbroker.util.python.PythonPageFactory
public class PythonPageFactory
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 | |
---|---|
PythonPageFactory()
|
Method Summary | |
---|---|
Page |
getAssembler(java.lang.String name)
Get an Assembler. |
Loader<Page> |
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 PythonPageFactory()
Method Detail |
---|
public Page getAssembler(java.lang.String name) throws java.lang.Exception
name
- name of the requested Assembler
java.lang.Exception
- generic exceptionpublic Loader<Page> getLoader()
getLoader
in interface AssemblerFactory<Page>
getLoader
in class PythonBaseFactory<Page>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |