Marek Novotny created JBSEAM-5091:
-------------------------------------

             Summary: SeamInterceptor doesn't work on EJB @Schedule methods
                 Key: JBSEAM-5091
                 URL: https://issues.jboss.org/browse/JBSEAM-5091
             Project: Seam 2
          Issue Type: Bug
          Components: EJB3
    Affects Versions: 2.3.0.Final
            Reporter: Marek Schmidt
             Fix For: 2.3.1.CR1


Description of problem:

Having a

@Scope(ScopeType.APPLICATION)
@Singleton
@Name("statistics")
public class Statistics
{
   @In(create=true)
   Foo foo;
     
   @Schedule(hour="*", minute="*", second="*/10", info="every tenth")
   public void generateReport(Timer timer) {
      // do stuff with foo 
   }
}

gets NullPointerException accessing "foo". Seam interceptors doesn't seem to 
work on time-out methods. The problem seems to be that the 
SessionBeanInterceptor doesn't implement the @AroundTimeout method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to