Bob Scheifler wrote:
Mark Brouwer wrote:
I wonder why defaultLoader,
verifyCodebaseIntegrity, verifierLoader and context were not made
protected here
The context is available via a public method. For the others, I'd
say due to thinking akin to Josh Bloch's advice in Effective Java,
only minimal subclassing hooks were put in to start, pending
clear need for more.
Josh Bloch, hmmmm I think I vaguely heard of him ... isn't he also the
guy that favors interfaces over (abstract) classes and says your equals
should be stable so therefore not rely on URL.equals as a key in a map
or something like that?
I'll file an issue against MarshalledInstance as it seems the
reason for subclassing works for what I try to accomplish.
BTW I must say that extending BasicInvocationDispatcher and
BasicILFactory for various of my needs has been a pleasure, the Jini ERI
stack is really well done.
--
Mark