[jboss-dev-forums] [Design of POJO Server] - Re: MetaData - replacement for MetaDataRepository

adrian@jboss.org do-not-reply at jboss.com
Mon Sep 18 05:42:04 EDT 2006


The final piece of the puzzle is the metadata stack.

This is a stack of MetaData maintained by each component
as requests come in. You can imagine this as a generilzation
of the thread context classloader behavior.

The idea is that the contextual MetaData should be able to pass
under the wire of user interfaces.

Something like:

  | repository.addStack(myMetaData);
  | try
  | {
  |    // do stuff
  | }
  | finally
  | {
  |    repository.popStack(myMetaData);
  | }
  | 

Later somebody can do:

  | MetaData metaData = repository.peek();
  | 

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

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



More information about the jboss-dev-forums mailing list