Remote version of the JCR 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.
@Deprecated public interface RemotePrincipal extends Remote
Principal
,
ClientPrincipal
,
ServerPrincipal
Modifier and Type | Method and Description |
---|---|
String |
getName()
Deprecated.
|
String getName() throws RemoteException
RemoteException
Principal.getName()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.