|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjodd.madvoc.ActionsManager
public class ActionsManager
Manages all Madvoc actions.
Field Summary | |
---|---|
protected ActionMethodParser |
actionMethodParser
|
protected java.util.Map<java.lang.String,ActionConfig> |
configs
|
protected WebApplication |
webapp
|
Constructor Summary | |
---|---|
ActionsManager(WebApplication webapp)
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,ActionConfig> |
getAllActionConfigurations()
Returns all registered action configurations. |
protected void |
initActionConfig(ActionConfig cfg)
Initializes action configuration, if not alreadt initialized. |
ActionConfig |
lookup(java.lang.String actionPath)
Returns action configurations for provided action path. |
boolean |
register(java.lang.Class actionClass,
java.lang.String actionMethod)
Registers action with provided action class and method name. |
boolean |
register(java.lang.reflect.Method actionMethod)
Registers action with provided action method. |
boolean |
register(java.lang.String actionSignature)
Registers action with provided action signature. |
boolean |
register(java.lang.String actionPath,
java.lang.Class actionClass,
java.lang.String actionMethod)
Registers action with provided action path, class and method name. |
boolean |
register(java.lang.String actionPath,
java.lang.reflect.Method actionMethod)
Registers action with provided action method and specified action path. |
protected boolean |
registerAction(ActionConfig cfg)
Registers new action configuration. |
protected boolean |
registerAction(java.lang.String actionPath,
java.lang.Class actionClass,
java.lang.String actionMethod)
Registration single point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final WebApplication webapp
protected final java.util.Map<java.lang.String,ActionConfig> configs
protected final ActionMethodParser actionMethodParser
Constructor Detail |
---|
public ActionsManager(WebApplication webapp)
Method Detail |
---|
public java.util.Map<java.lang.String,ActionConfig> getAllActionConfigurations()
public boolean register(java.lang.String actionSignature)
true
if there is no registration conflict.
public boolean register(java.lang.Class actionClass, java.lang.String actionMethod)
true
if there is no registration conflict.
public boolean register(java.lang.String actionPath, java.lang.Class actionClass, java.lang.String actionMethod)
true
if there is no registration conflict.
public boolean register(java.lang.reflect.Method actionMethod)
true
if there is no registration conflict.
public boolean register(java.lang.String actionPath, java.lang.reflect.Method actionMethod)
protected boolean registerAction(java.lang.String actionPath, java.lang.Class actionClass, java.lang.String actionMethod)
protected boolean registerAction(ActionConfig cfg)
true
if there is no registration conflict.
protected void initActionConfig(ActionConfig cfg)
public ActionConfig lookup(java.lang.String actionPath)
null
if action path is not already registered.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |