Package org.apache.turbine.modules
Class PageLoader
- java.lang.Object
-
- org.apache.turbine.modules.GenericLoader<Page>
-
- org.apache.turbine.modules.PageLoader
-
public class PageLoader extends GenericLoader<Page>
The purpose of this class is to allow one to load and execute Page modules.- Version:
- $Id$
- Author:
- Dave Bryson, Henning P. Schmiedehausen, Peter Courcoux
-
-
Field Summary
-
Fields inherited from class org.apache.turbine.modules.GenericLoader
ab
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exec(PipelineData pipelineData, String name)
Attempts to load and execute the external page.static PageLoader
getInstance()
The method through which this class is accessed.-
Methods inherited from class org.apache.turbine.modules.GenericLoader
getAssembler, getAssembler, getBasePackage, getCacheSize, getPackages, reload, setReload
-
-
-
-
Method Detail
-
exec
public void exec(PipelineData pipelineData, String name) throws Exception
Attempts to load and execute the external page.- Specified by:
exec
in classGenericLoader<Page>
- Parameters:
pipelineData
- Turbine information.name
- Name of object that will execute the page.- Throws:
Exception
- a generic exception.
-
getInstance
public static PageLoader getInstance()
The method through which this class is accessed.- Returns:
- The single instance of this class.
-
-