[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Adding annotations to MDR via bean metadata
alesj
do-not-reply at jboss.com
Tue Aug 18 09:53:53 EDT 2009
KernelScopeInfo doesn't (yet) add ctor annotations:
| public void updateMetaData(MutableMetaDataRepository repository, ControllerContext context, MutableMetaDataLoader mutable, boolean add)
| {
| if (context instanceof KernelControllerContext == false)
| return;
|
| KernelControllerContext kernelContext = (KernelControllerContext) context;
| updateClassAnnotations(mutable, kernelContext, add);
| if (mutable instanceof ComponentMutableMetaData)
| updatePropertyAnnotations(repository, (ComponentMutableMetaData) mutable, kernelContext, add);
| else if (add == true)
| log.warn("Unable to add properties to mutable metadata that does not support components: " + mutable + " for " + context.toShortString());
| }
|
Only class and properties.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250189#4250189
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250189
More information about the jboss-dev-forums
mailing list