[seam-issues] [JBoss JIRA] (JBSEAM-5091) SeamInterceptor doesn't work on EJB @Schedule methods

Marek Novotny (JIRA) jira-events at lists.jboss.org
Mon Apr 29 04:30:53 EDT 2013


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


More information about the seam-issues mailing list