[jboss-dev-forums] [JBoss AS 7 Development] - Re: EJB business methods invoked by @Timeout (same bean) not intercepted
jaikiran pai
do-not-reply at jboss.com
Mon Feb 13 13:11:54 EST 2012
jaikiran pai [https://community.jboss.org/people/jaikiran] created the discussion
"Re: EJB business methods invoked by @Timeout (same bean) not intercepted"
To view the discussion, visit: https://community.jboss.org/message/716283#716283
--------------------------------------------------------------
> Guido Bonazza wrote:
>
>
> Here is an example:
>
>
> @Stateless
> public class TimedBean {
> @Timeout
> public void timeout() {
> asyncMethod();
> }
>
> @Asynchronous
> public void asyncMethod() {
> // ...
> }
> }
>
>
Using the this operator to invoke on the bean method does +not+ provide EJB semantics. Please see this previous discussion for more details https://community.jboss.org/message/525521#525521#525521 https://community.jboss.org/message/525521#525521
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/716283#716283]
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/20120213/39a49a9f/attachment.html
More information about the jboss-dev-forums
mailing list