|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.arquillian.ajocado.command.CommandContextImpl
public class CommandContextImpl
This context holds the iterator over collection of interceptors, which will be triggered before the command will be passed to commandProcessor to execute.
Method Summary | |
---|---|
String[] |
getArguments()
Returns the arguments of the command. |
String |
getCommand()
Returns the command. |
Object |
invoke()
For each remaining interceptor in list call it's intercept method. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Object invoke() throws CommandInterceptorException
For each remaining interceptor in list call it's intercept method.
Watch if the following interceptor call's in it's CommandInterceptor.intercept(CommandContext)
method
body method invoke()
at least once. If not, this interceptor will raise
CommandInterceptorException
.
invoke
in interface CommandContext
CommandInterceptorException
- if the subsequent interceptor doesn't call invoke()
in it's
CommandInterceptor.intercept(CommandContext)
method body.public String getCommand()
getCommand
in interface CommandContext
public String[] getArguments()
getArguments
in interface CommandContext
public String toString()
toString
in class Object
|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |