|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.ajocado.interception.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 CommandInterceptionException
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
CommandInterceptionException.
invoke in interface CommandContextCommandInterceptionException - if the subsequent interceptor doesn't call invoke() in it's
CommandInterceptor.intercept(CommandContext) method body.public String getCommand()
getCommand in interface CommandContextpublic String[] getArguments()
getArguments in interface CommandContextpublic String toString()
toString in class Object
|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||