|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.thinger.service.httptool.ActionManager
public abstract class ActionManager
The action manager handles all mapping actions to classes.
Version History
EPG - Initial - 17 NOV 07
Field Summary | |
---|---|
protected SystemInterface |
si
The system interface. |
Constructor Summary | |
---|---|
ActionManager()
Constructor. |
Method Summary | |
---|---|
Action |
get(java.lang.String actionName)
Get an action implementation. |
abstract java.lang.String |
getMainName()
Get the main action. |
protected abstract void |
init_chain()
The initialization chain. |
void |
init(SystemInterface si)
Initialize the manager. |
protected abstract Action |
load(java.lang.String actionName)
Load an action by name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SystemInterface si
Constructor Detail |
---|
public ActionManager()
Method Detail |
---|
public abstract java.lang.String getMainName() throws ThingsException
ThingsException
- for any problem.protected abstract Action load(java.lang.String actionName) throws java.lang.Throwable
actionName
- the name of the action.
java.lang.Throwable
- for any problem (except for it not being found). This is usually fatal.protected abstract void init_chain() throws ThingsException
ThingsException
- for any problem.public void init(SystemInterface si) throws ThingsException
ThingsException
- by the init_chain if applicable. The base will never throw it.public Action get(java.lang.String actionName) throws java.lang.Throwable
actionName
- the name of the action.
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |