public interface RemotePrincipal extends Remote
Principal
interface. Used by the
ServerPrincipal
and
ClientPrincipal
adapter base classes to provide transparent RMI access to
remote item definitions.
The methods in this interface are documented only with a reference to a corresponding Principal method. The remote object will simply forward the method call to the underlying Principal instance. Argument and return values, as well as possible exceptions, are copied over the network. Complex return values are returned as remote references to the corresponding remote interface. RMI errors are signaled with RemoteExceptions.
Principal
,
ClientPrincipal
,
ServerPrincipal
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String getName() throws RemoteException
RemoteException
Principal.getName()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.