https://issues.apache.org/jira/browse/OPENEJB-201
Cheers Prasad On 3/23/07, Mohammad Nour El-Din <[EMAIL PROTECTED]> wrote:
Hi Prasad... I think it is better to put the link of the JIRA not the patch only, so your work is tracked easily :) On 3/23/07, Prasad Kashyap <[EMAIL PROTECTED]> wrote: > > Try this latest patch - > > https://issues.apache.org/jira/secure/attachment/12353921/Interceptor-v3.patch > > SuperClassInterceptor does a @Resource injection of the > SessionContext. The injection fails. This is verified in it's > @PostConstruct callback. > > Cheers > Prasad > > On 3/20/07, Prasad Kashyap <[EMAIL PROTECTED]> wrote: > > > https://issues.apache.org/jira/secure/attachment/12353787/Interceptor-v2.patch > > > > In the patch above, there is a ClassInterceptor.java which is an > > interceptor class for the BasicStatelessInterceptedBean and > > BasicStatefulInterceptedBean. > > > > This class tries a dependency injection of the SessionContext using > > the @Resource annotation. > > > > In the @PostConstruct callback, I can see that the dependency > > injection has failed. The variable is null. > > > > (Note: This interceptor has a super class. As mentioned in another > > thread, the lifecycle interceptor callbacks is failing in the chaining > > order. Either remove the superclass or move this dependency injection > > to the superclass - SuperInterceptor.java) > > > > Cheers > > Prasad > > > -- Thanks - Mohammad Nour
