org.apache.jackrabbit.rmi.remote.principal
Interface RemotePrincipal
- All Superinterfaces:
- Remote
- All Known Subinterfaces:
- RemoteGroup
- All Known Implementing Classes:
- ServerGroup, ServerPrincipal
public interface RemotePrincipal
- extends Remote
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.
- See Also:
Principal
,
ClientPrincipal
,
ServerPrincipal
getName
String getName()
throws RemoteException
- Throws:
RemoteException
- See Also:
Principal.getName()
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.