[jboss-dev-forums] [Design the new POJO MicroContainer] - Bean instantiate order with contextual injection
alesj
do-not-reply at jboss.com
Mon Aug 14 05:04:05 EDT 2006
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#3964908
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964908
More information about the jboss-dev-forums
mailing list