|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary java.util.Hashtable org.apache.turbine.modules.GenericLoader
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.
Constructor Summary | |
GenericLoader()
Basic constructor for creating a loader. |
|
GenericLoader(int i)
Basic constructor for creating a loader. |
Method Summary | |
boolean |
cache()
If set to true, then cache the Loader objects. |
abstract void |
exec(RunData data,
java.lang.String name)
Attempts to load and execute the external action that has been set. |
static java.lang.String |
getBasePackage()
Gets the base package where Turbine should find its default modules. |
boolean |
reload()
Returns whether or not this external action is reload itself. |
GenericLoader |
setReload(boolean reload)
Sets whether or not this external action is reload itself. |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GenericLoader()
public GenericLoader(int i)
Method Detail |
public boolean cache()
public abstract void exec(RunData data, java.lang.String name) throws java.lang.Exception
java.lang.Exception
- a generic exception.public boolean reload()
public GenericLoader setReload(boolean reload)
reload
- True if the action must be marked as reload.
public static java.lang.String getBasePackage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |