JBoss Community

Re: TimerBean: Only one @Timeout on SLSB?

created by jaikiran pai in EJB3 - View the full discussion

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

Start a new discussion in EJB3 at Community