]
Marek Novotny reassigned JBSEAM-5091:
-------------------------------------
Assignee: Marek Novotny
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
Assignee: Marek Novotny
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: