org.apache.jackrabbit.rmi.server.principal
Class ServerPrincipal
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.apache.jackrabbit.rmi.server.ServerObject
org.apache.jackrabbit.rmi.server.principal.ServerPrincipal
- All Implemented Interfaces:
- Serializable, Remote, RemotePrincipal
- Direct Known Subclasses:
- ServerGroup
public class ServerPrincipal
- extends ServerObject
- implements RemotePrincipal
- See Also:
- Serialized Form
ServerPrincipal
public ServerPrincipal(Principal principal,
RemoteAdapterFactory factory)
throws RemoteException
- Throws:
RemoteException
getName
public String getName()
- Specified by:
getName
in interface RemotePrincipal
- See Also:
Principal.getName()
getPrincipal
public Principal getPrincipal()
- Returns the
Principal
encapsulated in this instance.
NOTE: This method is intended to only be used in the JCR RMI
implementation to be able to "send back" remote principals to the server
for implementation of the remote JCR API.
- Returns:
- the
Principal
encapsulated in this instance.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.