|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.Controller
public class Controller
is the base class for all Controllers of pulse.
Attention: Controllers are singletons and
therefore not thread-safe. Both static and instance fields are shared among
different requests.
The execution of the Controller's methods are controlled by
annotations.
Action, AnyAction, Permission, Groups| Nested Class Summary | |
|---|---|
static class |
Controller.AlwaysRun
enumerates the different settings for AlwaysRun. |
| Constructor Summary | |
|---|---|
Controller()
|
|
| Method Summary | |
|---|---|
Controller.AlwaysRun |
getAlwaysRun()
returns the AlwaysRun setting of the Controller. |
boolean |
isAlwaysRun()
returns whether the Controller is run for every request, or
if it is run only during request for its Bundle. |
void |
setAlwaysRun(Controller.AlwaysRun ar)
is used during Bundle initialisation, to configure the
always run behaviour of the Controller. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Controller()
| Method Detail |
|---|
public final void setAlwaysRun(Controller.AlwaysRun ar)
Bundle initialisation, to configure the
always run behaviour of the Controller.
ar - the always run settingpublic final boolean isAlwaysRun()
Controller is run for every request, or
if it is run only during request for its Bundle.
Controller is run for every request, or
if it is run only during request for its Bundle.public final Controller.AlwaysRun getAlwaysRun()
Controller.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||