After a quick dirty look , java.beans's BeanContext has a service provider+service registration+ service revocation features.It also have events associated with these too. Thus it could actually serve as a mini- container resolving intefaces to concrete implementations.
Interesting aspect out there was getService() call had the requestor object as an argument for some reason along with the interface or class your are requesting & selector that might be applied. Regards, Vinay --- Berin Loritsch <[EMAIL PROTECTED]> wrote: > Niclas Hedhman wrote: > > > Niclas wrote; > > > >>Berin wrote; > >> > >>>Vinay Chandran wrote: > >>> > >>> > >>>>http://java.sun.com/j2se/1.4.1/docs/guide/beans/spec/beancontextTOC.fm.html > >>>> > >>> > >>>I took a quick look. I noticed with the > BeanContext and the > >>>associated interfaces, that all child components > were expected to > >>>extend > >>>java.awt.Component and all child containers were > expected to extend > >>>java.awt.Container. > >> > >>I also took a quick look, but can't find this > limitation. > > > > > > I found this on page 15 in the PDF document; > > > http://java.sun.com/products/javabeans/glasgow/beancontext.pdf > > > > <quote> > > Although not required, many BeanContexts may be > associated within a > > presentation hierarchy > > of java.awt.Containers and java.awt.Components. A > Container cannot implement > > BeanContext directly1 but may be associated with > one by implementing the > > BeanContext- > > Proxy interface described herein. > > </quote> > > > > So I think you misunderstood, Berin. > > Very possible. As I said it was a quick look. > > > -- > > "They that give up essential liberty to obtain a > little temporary safety > deserve neither liberty nor safety." > - Benjamin Franklin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
