javax.management.remote.rmi
public interface RMIServer extends Remote
Since: 1.5
Method Summary | |
---|---|
String | getVersion()
Returns the version of the RMI connection protocol used
by this server. |
RMIConnection | newClient(Object credentials)
Constructs and returns a new RMI connection using the specified
authentication credentials. |
Returns: the string specified above.
Throws: RemoteException if there is a problem with the transfer of the string via RMI.
Parameters: credentials a user-defined object passed to the server to authenticate the client. May be {@code null}.
Returns: the new connection.
Throws: IOException if the new connection can not be created or exported, or an error occurs in the RMI transmission. SecurityException if the client could not be authenticated correctly using the supplied credientials.