|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.madvoc.component.ResultsManager
public class ResultsManager
Manager for Madvoc results.
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,ActionResult> |
results
|
| Constructor Summary | |
|---|---|
ResultsManager()
|
|
| Method Summary | |
|---|---|
protected ActionResult |
createResult(java.lang.Class<? extends ActionResult> actionResultClass)
Creates new ActionResult. |
java.util.Map<java.lang.String,ActionResult> |
getAllActionResults()
Returns all action results. |
ActionResult |
lookup(java.lang.String resultType)
Returns an action result handler for specified result type. |
ActionResult |
register(java.lang.Class<? extends ActionResult> resultClass)
Registers an action result handler and returns created ActionResult if
result with same type doesn't exist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.util.Map<java.lang.String,ActionResult> results
| Constructor Detail |
|---|
public ResultsManager()
| Method Detail |
|---|
public java.util.Map<java.lang.String,ActionResult> getAllActionResults()
public ActionResult register(java.lang.Class<? extends ActionResult> resultClass)
ActionResult if
result with same type doesn't exist. Otherwise, returns existing result and created one will be ignored.
public ActionResult lookup(java.lang.String resultType)
null if result type is not previously registered.
protected ActionResult createResult(java.lang.Class<? extends ActionResult> actionResultClass)
ActionResult.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||