[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Adding applyMetaData method to KernelControllerContext

alesj do-not-reply at jboss.com
Mon Aug 13 08:44:19 EDT 2007


"adrian at jboss.org" wrote : 
  | This is also related to something I discussed with Carlo about ejb annotations.
  | The annotations in the xml are "instance scope" annotations,
  | while the annotations on the class are "Class scope" annotations.
  | 
  | Any "instance scope" annotation makes the "class scope" invisible.

I though of this - following your discussion with Carlo :-) - but there are some issues that IMO still need exact knowledge of overlapping instances.
Specially when dealing with full sets/lists of metadata - e.g. bean propertys, annotations, installs/uninstalls, callbacks, supplies, demands, ...
But I guess implementing equals/hashCode on all these metada would do the trick.

And the bean metadata ControllerContext would deal with it would actually be a scoped chain of bean metadata.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073526#4073526

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073526



More information about the jboss-dev-forums mailing list