[jboss-user] [EJB3] - Re: TimerBean: Only one @Timeout on SLSB?
jaikiran pai
do-not-reply at jboss.com
Tue Sep 20 02:51:09 EDT 2011
jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion
"Re: TimerBean: Only one @Timeout on SLSB?"
To view the discussion, visit: http://community.jboss.org/message/627375#627375
--------------------------------------------------------------
> Pasquale Imbemba wrote:
>
> I've two private methdos on my SLSB, say A and B.
> Both methods are annotated with @Timeout, return void, and take Timer as an argument.
>
You can't have more than one @Timeout method on a bean. The spec mandates that:
> A bean can have at most one timeout method for handling programmatic timers
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/627375#627375]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110920/d3fa376a/attachment.html
More information about the jboss-user
mailing list