@Retention(value=RUNTIME) @Target(value=TYPE) public @interface StatefulController
Only one instance of this controller will exist per request session. It is kept in the HttpSession. The instance goes away when the session is invalidated, the session times out, or the application is restarted. Its dependencies, if any, are re-injected with every new request.
The following are valid declarations of stateful controllers:
@StatefulController public class SomeController { ... }
@StatefulController("some-name") public class SomeController { ... }
public abstract String value
Copyright © 2011-2012 MojaveMVC.org