[jboss-user] [JBoss Microcontainer] - Re: @EJB injection not working in JBoss 6.x
gunter zeilinger
do-not-reply at jboss.com
Wed Aug 31 03:47:25 EDT 2011
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&containerType=14&container=2114]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110831/a9b13290/attachment-0001.html
More information about the jboss-user
mailing list