Name
RMIFailureHandler
Synopsis
The failure()
method on the current
RMIFailureHandler
is called when the RMI
communications system fails to create a Socket
or
ServerSocket
. The current handler is set using the
setFailureHandler()
method on
RMISocketFactory
. The failure()
method returns a boolean value that indicates whether the RMI system
should retry the socket connection.
public interface RMIFailureHandler { // Public Instance Methods public abstract boolean failure( Exception ex); }
Passed To
RMISocketFactory.setFailureHandler()
Returned By
RMISocketFactory.getFailureHandler()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.