"anil.saldhana(a)jboss.com" wrote : I think the ReflectionUtils mechanism needs to
be looked at in the mc codebase.
|
I just did a test with this code - and it works for me.
| public class AnnotatedLifecycleBean extends SuperLifecycleBean
| {
| ...
|
| public class SuperLifecycleBean
| {
| private String test;
| public String getTest()
| {
| return test;
| }
| public void setTest(String test)
| {
| this.test = test;
| }
| }
|
| <bean name="LifecycleBean"
class="org.jboss.test.kernel.deployment.support.AnnotatedLifecycleBean"
mode="Manual">
| <property name="test">juhuhu</property>
| </bean>
|
This is tested on the current MC trunk - but I don't think property injection has
changed recently.
anonymous wrote :
| Also the information that is held in DeployerConfig that is passed to TomcatDeployment
is not getting unwrapped to set the properties on the AbstractWar/TomcatDeployment.
Unwrapped?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984285#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...