gunter zeilinger [
http://community.jboss.org/people/gunterze] created the discussion
"Re: @EJB injection not working in JBoss 6.x"
To view the discussion, visit:
http://community.jboss.org/message/623926#623926
--------------------------------------------------------------
I thought ALR's solution with
org.jboss.ejb3.mcint.metadata.plugins.EjbReferenceAnnotationPlugin
org.jboss.ejb3.mcint.metadata.plugins.AbstractEjbReferenceValueMetadata
org.jboss.ejb3.mcint.annotationadaptor.AddAnnotationPluginOnBeanAnnotationAdaptorCallbackService
is already included in JBoss 6.x and deployed by
jboss-6.1.0.Final/server/default/deployers/ejb3.deployer/META-INF/ejb3-deployers-jboss-beans.xml:
<!-- Add Annotation Plugins upon installation -->
<bean
name="org.jboss.ejb3.AddAnnotationPluginOnBeanAnnotationAdaptorCallbackService"
class="org.jboss.ejb3.mcint.annotationadaptor.AddAnnotationPluginOnBeanAnnotationAdaptorCallbackService">
<constructor>
<parameter><inject
bean="jboss.kernel:service=Kernel"/></parameter>
</constructor>
</bean>
<!-- TODO: Move this out of core -->
<!-- EJB Reference Annotation Plugin -->
<bean name="org.jboss.ejb3.EjbReferenceAnnotationPlugin"
class="org.jboss.ejb3.mcint.metadata.plugins.EjbReferenceAnnotationPlugin">
<constructor>
<parameter><inject bean="org.jboss.ejb3.EjbReferenceResolver"
/></parameter>
</constructor>
</bean>
by default. Isn't it?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/623926#623926]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]