[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Scoping changes

alesj do-not-reply at jboss.com
Wed Aug 29 10:44:12 EDT 2007


"adrian at jboss.org" wrote : 
  | These are completely unnecessary. MetaData is already immutable
  | (its a wrapper to the mutable context) and the ScopeKey becomes immutable (frozen)
  | once its used by the repository to register a context.

Aha, ok.
I was looking at the MetaData. The interface itself is immutable, but to prevent someone to actually cast it to mutable impl and then change the state, I added Unmodifiable wrapper.


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

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



More information about the jboss-dev-forums mailing list