package and its subpackages provide APIs for Jini extensible remote
invocation (Jini ERI) and several Jini ERI transport layer providers.
As recommended by RFC 1123, the transport endpoints now attempt connections to all the IP addresses that a given host name may resolve to, instead of just the first one.
has been changed to trust fewer dynamic proxies. In particular, in addition to
the dynamic proxy must now implement one or more well-formed remote interfaces
(ones that extend
Remote and for which all methods declare
RemoteException or a superclass in their throws clause), and
must not implement any other interfaces except
has five new
protected methods to allow for more
convenient implementation of certain behaviors through subclassing:
hasTrustedProxyClasscan be overridden by subclasses to control which dynamic proxy classes for Jini ERI proxies are considered locally trusted.
hasTrustedClassLoadercan be overridden by subclasses to control the set of class loaders for which the class of a Jini ERI proxy, when defined by one of those loaders, is considered locally trusted.
isTrustedProxyInterfacecan be overridden by subclasses to control which dynamic proxy interfaces for Jini ERI proxies are considered locally trusted.
isTrustedInvocationHandlercan be overridden by subclasses to support verification of invocation handlers that have a locally trusted class other than
BasicInvocationHandler(such as a subclass of
checkInvocationHandlerContentcan be invoked by subclasses that override
isTrustedInvocationHandlerto perform the verification steps that the default implementation of
isTrustedInvocationHandlerwould perform, except that the class of the invocation handler is not required to be
BasicInvocationHandlerexactly, so that trusted subclasses can be supported.