[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMDR-1; LRU cache impl

adrian@jboss.org do-not-reply at jboss.com
Thu Jul 3 06:11:48 EDT 2008


"alesj" wrote : How to introduce this into MC Kernel?
  | The only place where we create (Abstract)MetaDataContext is in BasicKernelMetaDataRepository.
  | So having a single entry point is good.
  | But the problem is that this BasicKernelMetaDataRepository is instantiated from class name, leaving us with little configuration space.
  | e.g. if I wanted to be more flexible on LRU min/max

You don't. The cached metadata context is there for people that want
to programmatically construct the contexts and load from something that is slow
e.g. If I want to add to the JVM context a metdata loader that loads metadata from a database
(or do the same thing to more specific contexts inside a deployer)

Nobody is using the cached version at the moment which was why this issue
was never very important. ;-)

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

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



More information about the jboss-dev-forums mailing list