If bean that has a 'contextual injection' is defined before the actual injectee,
deployment fails.
Is there a way to avoid this. Or is this expected behaviour?
|
| <?xml version="1.0" encoding="UTF-8"?>
|
| <deployment
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="urn:jboss:bean-deployer
bean-deployer_1_0.xsd"
| xmlns="urn:jboss:bean-deployer">
|
| <bean name="testObject"
class="org.jboss.test.kernel.inject.support.AnnotatedTypeStrictSimpleTestObject"
/>
|
| <bean name="injecteeInterface"
class="org.jboss.test.kernel.inject.support.DuplicateTester"/>
|
| </deployment>
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964908#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...