|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
org.apache.turbine.modules.GenericLoader
org.apache.turbine.modules.ActionLoader
The purpose of this class is to allow one to load and execute Action modules.
Method Summary | |
void |
exec(RunData data,
java.lang.String name)
Attempts to load and execute the external action. |
static ActionLoader |
getInstance()
The method through which this class is accessed. |
Action |
getInstance(java.lang.String name)
Pulls out an instance of the object by name. |
Methods inherited from class org.apache.turbine.modules.GenericLoader |
cache, getBasePackage, reload, setReload |
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 |
Method Detail |
public void exec(RunData data, java.lang.String name) throws java.lang.Exception
exec
in class GenericLoader
data
- Turbine information.name
- Name of object that will execute the action.
java.lang.Exception
- a generic exception.public Action getInstance(java.lang.String name) throws java.lang.Exception
name
- Name of object instance.
java.lang.Exception
- a generic exception.public static ActionLoader getInstance()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |