|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.server.invocation.Invocation
org.jboss.portal.core.command.ControllerCommand
A controller command.
Field Summary | |
protected CommandContext |
context
The context of the command. |
Constructor Summary | |
protected |
ControllerCommand()
|
Method Summary | |
void |
create()
Setup state before invocation. |
void |
destroy()
Destroy state after invocation. |
protected void |
dispatch()
Dispatch the call to the target. |
abstract void |
execute()
Execute the command. |
CommandContext |
getContext()
|
abstract CommandInfo |
getInfo()
Return the meta data of this command. |
void |
setContext(CommandContext context)
|
Methods inherited from class org.jboss.portal.server.invocation.Invocation |
getAttribute, invoke, invokeNext, removeAttribute, setAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected CommandContext context
Constructor Detail |
protected ControllerCommand()
Method Detail |
public abstract CommandInfo getInfo()
public CommandContext getContext()
public void setContext(CommandContext context)
public void create() throws InvocationException
InvocationException
public void destroy()
protected void dispatch() throws InvocationException, InvocationRuntimeException
Invocation
dispatch
in class Invocation
public abstract void execute() throws InvocationException
InvocationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |