Package org.apache.turbine.modules
Class ActionLoader
- java.lang.Object
-
- org.apache.turbine.modules.GenericLoader<Action>
-
- org.apache.turbine.modules.ActionLoader
-
public class ActionLoader extends GenericLoader<Action>
The purpose of this class is to allow one to load and execute Action 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 action.static ActionLoader
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 action.- Specified by:
exec
in classGenericLoader<Action>
- Parameters:
pipelineData
- Turbine information.name
- Name of object that will execute the action.- Throws:
Exception
- a generic exception.
-
getInstance
public static ActionLoader getInstance()
The method through which this class is accessed.- Returns:
- The single instance of this class.
-
-