I'm having a problem with SFSB inheritence that seems very odd to me.  I have 
an abstract class/interface which is extended by a concrete implementation.  
The superclass defines an abstract getEntityManager() method which returns an 
EntityManager that has been injected using seam managed persistence in the 
subclass.  Now, the problem is if I access any of the methods defined in the 
subclass and it's interface, the EntityManager is injected and everything works 
fine, but if I call a method defined in the superclass/interface it does not 
appear to be intercepted, no injection occurs and I get a NullPointerException. 
 I have @Intercept(InterceptionType.ALWAYS) set on all the relevent classes and 
I can't imagine this would be considered a feature.  Can anybody tell me what's 
going on?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949136#3949136

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949136


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to