If I have a service like the following, with a self referencing @EJB injection point,
Pitchfork does not inject a self-referencing bean reference (proxy) here, rather it simply injects "this" which is a regular reference. (Therefore all calls through this reference will not invoke the regular interceptor stack for things like CMT, etc.).Code:class FooServiceImpl implement FooService { @EJB private FooService local ... }
Can this be changed to inject a self-referencing bean reference instead? Otherwise, does anyone have any suggestions? Is there a better pattern for getting a self-referencing bean reference?
(As an aside, JBoss 4.0.5+ supports injection of self-referencing @EJB's).


Reply With Quote