Annotation Type | Description |
---|---|
Action |
A controller class's exposed methods are annotated with this annotation to
flag them as action methods.
|
AfterAction |
A method annotated with this annotation is invoked after the @Action
method is invoked.
|
AfterConstruct |
A method annotated with this annotation will be invoked after the controller
is constructed.
|
BeforeAction |
A method annotated with this annotation is invoked before the @Action
method is invoked.
|
DefaultAction |
This annotation specifies the default action for a controller.
|
DefaultController |
A controller annotated with this annotation is flagged as the default
controller for all application requests not specifying a controller.
|
DELETEAction | |
GETAction | |
HEADAction | |
Init |
This annotation must be used only with singleton controllers.
|
InterceptedBy |
A controller class or its methods can be annotated with this annotation to
specify which interceptors will intercept @Action method invocations.
|
Model |
This annotation is used to flag an @Action method parameter as a data
model for the request.
|
OPTIONSAction | |
Param |
This annotation is used to map @Action method parameters to their
request variable names.
|
ParamPath |
A controller class's action methods can be annotated with this annotation to
specify the mapping of the method's parameters to the request path.
|
POSTAction | |
PUTAction | |
Resource |
This annotation is used to flag an @Action method parameter
as a resource provided from the request.
|
SingletonController |
Only one instance of this controller will exist in the application, placed in
the front controller context.
|
StatefulController |
Only one instance of this controller will exist per request session.
|
StatelessController |
A new instance of this controller is created per request.
|
TRACEAction |
Copyright © 2011-2012 MojaveMVC.org