I think the merits of adding the metadata abstractions to the Containers are pretty
apparent, but I'm concerned with the amount of plumbing code this introduces.
For every annotation or XML node, we'll have to make corresponding methods which
either delegate back to the metadata object model or redirect to our own instance
members.
What are the arguments against bypassing the abstractions and accessing this information
directly in the container like:
container.getJBossAssemblyDescriptorMetaData().getJndiName()
instead of:
container.getJndiName()
Sure, 2) is more elegant, but 1) requires no plumbing/abstractions.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113534#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...