[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Case sensitivity in injecting a bean's property
alesj
do-not-reply at jboss.com
Mon Jan 22 15:17:09 EST 2007
Before:
| Object result = context.getTarget();
| if (result != null && property != null)
| {
| KernelConfigurator configurator = controller.getKernel().getConfigurator();
| BeanInfo beanInfo = configurator.getBeanInfo(result.getClass());
| TargettedJoinpoint joinpoint = configurator.getPropertyGetterJoinPoint(beanInfo, property);
| joinpoint.setTarget(result);
| result = joinpoint.dispatch();
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004977#4004977
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004977
More information about the jboss-dev-forums
mailing list