On Wed, 12 Dec 2001 21:05, Paul Hammant wrote: > Folks, > > (sorry if redundant, it's just that I have lost a weeks worth of list > mail upon return from Vacation) > > //Object getProxy(); > > Like it. Mostly for use in a block for passing deeper to something that > is service aware, but that you want to hide impl from . > Like hosted components I guess. Maillets, FtpLets, but not servlets (as > Sun defined the interface for that one). > > //Object getProxy( Object other ); > > Is there not an Excalibur DynProxy class for this?
The problem is that means that the Block has to manage when to invalidate the proxy. If it is done via BlockContext then Phoenix can manage when the proxies are invalidated and thus force it to invalidate at block shutdown. > //InputStream getResourceAsStream( String name ); > > This is for when we get the Not-unpacked SAR file working again? partially. I have some other thoughts on doing this and have designed a fairly comprehensive system - Essentially you mark blocks as needing filesystem expanded (or at all) - if no blocks need filesystem expanded then can optionally not expand and can even run it without a home directory if no file access is needed.. > //ClassLoader getClassLoader( String name ); > > We'd hint that coders should get their name from configuration and not > hard code, yes? no idea. Still thinking about it. > Maybe we also need String[] getClassLoaderNames() for those highly > adaptive "services explorer" blocks. Thats an idea ... need time to gestate. -- Cheers, Pete --------------------------------------------------- "Therefore it can be said that victorious warriors win first, and then go to battle, while defeated warriors go to battle first, and then seek to win." - Sun Tzu, the Art Of War --------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>