> Assume that we ignore syntactic sugar and access data via "well defined"
> entrys. So rather than
> ((FooContext)context).getFooDirectory()
> we use
> (File)context.get( "foo:directory" );
Those are not equivalent. In the former case, context IS-A FooContext. In
the latter case, context need only HAVE-A FooContext (perhaps).
> So this means code like the following is not really an approved approach.
> ((FooContext)context).getFooDirectory()
> ((BarContext)context).getBarDirectory()
I would consider that to be a particularly poor approach, anyway, for the
above mentioned reasons.
--- Noel
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>