[jboss-dev-forums] [JBoss AS 7 Development] - Re: AS7 Stateless Beans and Annotations

Wolf-Dieter Fink do-not-reply at jboss.com
Sun Oct 28 14:38:42 EDT 2012


Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: AS7 Stateless Beans and Annotations"

To view the discussion, visit: https://community.jboss.org/message/772688#772688

--------------------------------------------------------------
Hi Bill,

the @Startup annotation will only have an effect if you use @Singleton instead of @Staeless.
@PrePassivate and @PostActivate are only available for StatefullBeans (only here you have passivation)
Also you should notice that all public callback methods are included in the NoInterfaceView!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/772688#772688]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121028/56dad3bc/attachment.html 


More information about the jboss-dev-forums mailing list