|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.common.invocation.Invocation org.jboss.portal.core.command.ControllerCommand
A controller command.
Field Summary | |
protected CommandContext |
context
The context of the command. |
protected static org.jboss.logging.Logger |
log
. |
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. |
void |
enforceSecurity(PortalAuthorizationManager pam)
Enforce the security on this command. |
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.common.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 static org.jboss.logging.Logger log
protected CommandContext context
Constructor Detail |
protected ControllerCommand()
Method Detail |
public abstract CommandInfo getInfo()
public CommandContext getContext()
public void setContext(CommandContext context)
public void enforceSecurity(PortalAuthorizationManager pam) throws SecurityException, PortalSecurityException
public void create() throws CommandException
CommandException
public void destroy()
protected void dispatch() throws java.lang.Exception, InvocationException
Invocation
dispatch
in class Invocation
java.lang.Exception
InvocationException
public abstract void execute() throws CommandException
CommandException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |