Looks good to me. > -----Original Message----- > From: Peter Donald [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 5:29 PM > To: Avalon Developers List > Subject: Re: [Proposal] Distilling common Context Attributes > > > Im not so sure it is to use "context" as the namespace > -esepcially given that > these attributes are scoped. The way these three are named in > what I am doing > is the following > > component:home.dir= > component:work.dir= > component:common.classloader= > partition:home.dir= > partition:work.dir= > partition:common.classloader= > application:home.dir= > application:work.dir= > application:common.classloader= > > And it cascades up. This allows much more scalable usage > patterns and it also > uses the same terminology as in Phoenix, TC, and other containers. > > On Wed, 28 Aug 2002 02:04, Berin Loritsch wrote: > > I would like to propose a minimum set of attributes that all > > containers need to support, which will provide some > guarantees for the > > components that need them. So far, I only have three that > would fit > > the bill: > > > > 1) "context:dir" A java.io.File representing the context directory > > available > > to the component. Sort of a "home" directory. > > > > 2) "context:scratch" A java.io.File representing the > context directory > > that the component can use as a hash area--nothing permanent > > guaranteed, > > but useful for dynamic compilation, cache entries, etc. > > > > 3) "context:classloader" A java.lang.ClassLoader that the > component can > > use to create objects or child components with. > > > > > > The names are of course up for debate, but the concepts are fairly > > constant. I would like a standard set of names so that the > components > > like SourceResolver > > can implement a "context:" protocol that maps to the home > dir easily. > > It > > will also help with the cache implementations, et. al. > > > > Thoughts? > > > > > > "They that give up essential liberty to obtain a little temporary > > safety deserve neither liberty nor safety." > > - Benjamin Franklin > > -- > Cheers, > > Peter Donald > A right is not what someone gives you; it's what no one can > take from you. > -- Ramsey Clark > > > > -- > To unsubscribe, e-mail: > <mailto:avalon-dev-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> >
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
