[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMICROCONT-330 - Preconfigured MDR and scopes

alesj do-not-reply at jboss.com
Fri Aug 8 11:50:57 EDT 2008


This move

  | projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/metadata/basic/BasicKernelMetaDataRepository.java
  | ===================================================================
  | --- projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/metadata/basic/BasicKernelMetaDataRepository.java	2008-08-08 14:37:38 UTC (rev 76832)
  | +++ projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/metadata/basic/BasicKernelMetaDataRepository.java	2008-08-08 15:11:04 UTC (rev 76833)
  | @@ -21,20 +21,13 @@
  |  */
  | ...
  | 
  | -
  | -   /**
  | -    * Create metadata context.
  | -    *
  | -    * @param retrievals the retrievals
  | -    * @return new metadata context instance
  | -    */
  | -   protected MetaDataContext createMetaDataContext(List<MetaDataRetrieval> retrievals)
  | -   {
  | -      return new AbstractMetaDataContext(null, retrievals);
  | -   }
  |  }
  | 
made the following classes:
 - CachingBasicKernelMetaDataRepository (org.jboss.kernel.plugins.metadata.basic)
 - PolicyCachingBasicKernelMetaDataRepository (org.jboss.kernel.plugins.metadata.basic)
 - LRUPolicyCachingBasicKernelMetaDataRepository (org.jboss.kernel.plugins.metadata.basic)
 - TimedPolicyCachingBasicKernelMetaDataRepository (org.jboss.kernel.plugins.metadata.basic)
useless, since they don't serve the caching override function anymore.

What's the best way to port this?
Overriding this in some ControllerContext impl doesn't seem like a good fit.

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

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



More information about the jboss-dev-forums mailing list