| java.util.Hashtable org.apache.turbine.modules.GenericLoader
All known Subclasses: org.apache.turbine.modules.PageLoader, org.apache.turbine.modules.ScheduledJobLoader, org.apache.turbine.modules.ScreenLoader, org.apache.turbine.modules.NavigationLoader, org.apache.turbine.modules.ActionLoader, org.apache.turbine.modules.LayoutLoader,
GenericLoader | abstract public class GenericLoader extends Hashtable (Code) | | This is the base class for the loaders. It contains code that is
used across all of the loaders. It also specifies the interface
that is required to be called a Loader.
author: Dave Bryson author: Henning P. Schmiedehausen version: $Id: GenericLoader.java 534527 2007-05-02 16:10:59Z tv $ |
Constructor Summary | |
public | GenericLoader() Basic constructor for creating a loader. | public | GenericLoader(int i) Basic constructor for creating a loader. |
Method Summary | |
public boolean | cache() If set to true, then cache the Loader objects. | abstract public void | exec(RunData data, String name) Attempts to load and execute the external action that has been
set. | public static String | getBasePackage() Gets the base package where Turbine should find its default
modules. | public boolean | reload() Returns whether or not this external action is reload itself. | public GenericLoader | setReload(boolean reload) Sets whether or not this external action is reload itself.
This is in cases where the Next button would be clicked, but
since we are checking for that, we would go into an endless
loop.
Parameters: reload - True if the action must be marked as reload. |
GenericLoader | public GenericLoader()(Code) | | Basic constructor for creating a loader.
|
GenericLoader | public GenericLoader(int i)(Code) | | Basic constructor for creating a loader.
|
cache | public boolean cache()(Code) | | If set to true, then cache the Loader objects.
True if the Loader objects are being cached. |
exec | abstract public void exec(RunData data, String name) throws Exception(Code) | | Attempts to load and execute the external action that has been
set.
exception: Exception - a generic exception. |
getBasePackage | public static String getBasePackage()(Code) | | Gets the base package where Turbine should find its default
modules.
A String with the base package name. |
reload | public boolean reload()(Code) | | Returns whether or not this external action is reload itself.
This is in cases where the Next button would be clicked, but
since we are checking for that, we would go into an endless
loop.
True if the action is reload. |
setReload | public GenericLoader setReload(boolean reload)(Code) | | Sets whether or not this external action is reload itself.
This is in cases where the Next button would be clicked, but
since we are checking for that, we would go into an endless
loop.
Parameters: reload - True if the action must be marked as reload. Itself. |
|
|