Ron,

This kind of chaining of HelperContexts is one of the things being planned 
for SDO 3.

In the meantime, I think you could accomplish it, in a very EMF-specific 
way, by doing something like this:

HelperContext parentHelperContext = SDOUtil.createHelperContext();
HelperContext childHelperContext = new HelperContextImpl( 
((HelperContextImpl)parentHelperContext).getExtendedMetaData(), false);

I'm not sure, but I think that would do what you want, but be warned that 
all the EMF-specific parts of Tuscany are considered internal and subject 
to change in future releases.

Frank.

Ron Gavlin <[EMAIL PROTECTED]> wrote on 09/13/2007 12:45:02 PM:

> Greetings,
> 
> 97% of the model in my application is static and shared by all web 
> sessions. 3% is dynamic and should be unique to each individual web 
> session. Is there a way to scope/nest helper contexts so that all 
> modifications are applied to the "child" context and lookups are 
> made first to the child context and then to the parent if necessary?
> This semantic is similar to how classloaders work. Any insight is 
appreciated.
> 
> Thanks in advance,
> 
> - Ron
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to