Package org.apache.jackrabbit.rmi.server
Class ServerAdapterFactory
- java.lang.Object
-
- org.apache.jackrabbit.rmi.server.ServerAdapterFactory
-
- All Implemented Interfaces:
RemoteAdapterFactory
@Deprecated(forRemoval=true) public class ServerAdapterFactory extends Object implements RemoteAdapterFactory
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Default implementation of the
RemoteAdapterFactory
interface. This factory uses the server adapters defined in this package as the default adapter implementations. Subclasses can override or extend the default adapters by implementing the corresponding factory methods.The
bufferSize
property can be used to configure the size of the buffer used by iterators to speed up iterator traversal over the network.
-
-
Constructor Summary
Constructors Constructor Description ServerAdapterFactory()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getBufferSize()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the iterator buffer size.int
getPortNumber()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the port number for server objects.RemoteAccessControlEntry
getRemoteAccessControlEntry(AccessControlEntry local)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a remote adapter for the given local access control manager.RemoteAccessControlEntry[]
getRemoteAccessControlEntry(AccessControlEntry[] local)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a remote adapter for the given local access control manager.RemoteAccessControlManager
getRemoteAccessControlManager(AccessControlManager acm)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerAccessControlManager
instance.RemoteAccessControlPolicy
getRemoteAccessControlPolicy(AccessControlPolicy local)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a remote adapter for the given local access control manager.RemoteAccessControlPolicy[]
getRemoteAccessControlPolicy(AccessControlPolicy[] local)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a remote adapter for the given local access control manager.RemoteIterator
getRemoteAccessControlPolicyIterator(AccessControlPolicyIterator iterator)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeIterator
instance.RemoteEventCollection
getRemoteEvent(long listenerId, EventIterator events)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerEventCollection
instances.RemoteItem
getRemoteItem(Item item)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerItem
instance.RemoteItemDefinition
getRemoteItemDefinition(ItemDefinition def)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerItemDefinition
instance.RemoteLock
getRemoteLock(Lock lock)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerLock
instance.RemoteLockManager
getRemoteLockManager(LockManager lockManager)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteNamespaceRegistry
getRemoteNamespaceRegistry(NamespaceRegistry registry)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNamespaceRegistry
instance.RemoteNode
getRemoteNode(Node node)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNode
instance.RemoteNodeDefinition
getRemoteNodeDefinition(NodeDefinition def)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeDefinition
instance.RemoteIterator
getRemoteNodeIterator(NodeIterator iterator)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeIterator
instance.RemoteNodeType
getRemoteNodeType(NodeType type)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeType
instance.RemoteIterator
getRemoteNodeTypeIterator(NodeTypeIterator iterator)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeTypeIterator
instance.RemoteNodeTypeManager
getRemoteNodeTypeManager(NodeTypeManager manager)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeTypeManager
instance.RemoteObservationManager
getRemoteObservationManager(ObservationManager observationManager)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerObservationManager
instance.RemotePrincipal
getRemotePrincipal(Principal principal)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a remote adapter for the given local access control manager.RemoteIterator
getRemotePrincipalIterator(Iterator<Principal> principals)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a remote adapter for the given local access control manager.RemotePrivilege
getRemotePrivilege(Privilege local)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a remote adapter for the given local access control manager.RemotePrivilege[]
getRemotePrivilege(Privilege[] local)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a remote adapter for the given local access control manager.RemoteProperty
getRemoteProperty(Property property)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerProperty
instance.RemotePropertyDefinition
getRemotePropertyDefinition(PropertyDefinition def)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerPropertyDefinition
instance.RemoteIterator
getRemotePropertyIterator(PropertyIterator iterator)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerPropertyIterator
instance.RemoteQuery
getRemoteQuery(Query query)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerQuery
instance.RemoteQueryManager
getRemoteQueryManager(Session session, QueryManager manager)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerQueryManager
instance.RemoteQueryResult
getRemoteQueryResult(QueryResult result)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerQueryResult
instance.RemoteRepository
getRemoteRepository(Repository repository)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerRepository
instance.RemoteRow
getRemoteRow(Row row)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerQueryResult
instance.RemoteIterator
getRemoteRowIterator(RowIterator iterator)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerRowIterator
instance.RemoteSession
getRemoteSession(Session session)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerSession
instance.RemoteVersion
getRemoteVersion(Version version)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerVersion
instance.RemoteVersionHistory
getRemoteVersionHistory(VersionHistory versionHistory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerVersionHistory
instance.RemoteIterator
getRemoteVersionIterator(VersionIterator iterator)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerVersionIterator
instance.RemoteVersionManager
getRemoteVersionManager(Session session, VersionManager versionManager)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteWorkspace
getRemoteWorkspace(Workspace workspace)
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerWorkspace
instance.protected RemoteIterator
optimizeIterator(RemoteIterator remote)
Deprecated, for removal: This API element is subject to removal in a future version.Optimizes the given remote iterator for transmission across the network.void
setBufferSize(int bufferSize)
Deprecated, for removal: This API element is subject to removal in a future version.Sets the iterator buffer size.void
setPortNumber(int portNumber)
Deprecated, for removal: This API element is subject to removal in a future version.Sets the port number for server objects.
-
-
-
Method Detail
-
getBufferSize
public int getBufferSize()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the iterator buffer size.- Returns:
- iterator buffer size
-
setBufferSize
public void setBufferSize(int bufferSize)
Deprecated, for removal: This API element is subject to removal in a future version.Sets the iterator buffer size.- Parameters:
bufferSize
- iterator buffer size
-
getPortNumber
public int getPortNumber()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the port number for server objects.- Specified by:
getPortNumber
in interfaceRemoteAdapterFactory
- Returns:
- port number, or 0 for the default
-
setPortNumber
public void setPortNumber(int portNumber)
Deprecated, for removal: This API element is subject to removal in a future version.Sets the port number for server objects.- Parameters:
portNumber
- port number, or 0 for the default
-
getRemoteRepository
public RemoteRepository getRemoteRepository(Repository repository) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerRepository
instance. Returns a remote adapter for the given local repository.- Specified by:
getRemoteRepository
in interfaceRemoteAdapterFactory
- Parameters:
repository
- local repository- Returns:
- remote repository adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteSession
public RemoteSession getRemoteSession(Session session) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerSession
instance. In case the underlying session is transaction enabled, the remote interface is will be transaction enabled too through theServerXASession
. Returns a remote adapter for the given local session.- Specified by:
getRemoteSession
in interfaceRemoteAdapterFactory
- Parameters:
session
- local session- Returns:
- remote session adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteWorkspace
public RemoteWorkspace getRemoteWorkspace(Workspace workspace) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerWorkspace
instance. Returns a remote adapter for the given local workspace.- Specified by:
getRemoteWorkspace
in interfaceRemoteAdapterFactory
- Parameters:
workspace
- local workspace- Returns:
- remote workspace adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteObservationManager
public RemoteObservationManager getRemoteObservationManager(ObservationManager observationManager) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerObservationManager
instance. Returns a remote adapter for the given local observation manager.- Specified by:
getRemoteObservationManager
in interfaceRemoteAdapterFactory
- Parameters:
observationManager
- local observation manager- Returns:
- remote observation manager adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteNamespaceRegistry
public RemoteNamespaceRegistry getRemoteNamespaceRegistry(NamespaceRegistry registry) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNamespaceRegistry
instance. Returns a remote adapter for the given local namespace registry.- Specified by:
getRemoteNamespaceRegistry
in interfaceRemoteAdapterFactory
- Parameters:
registry
- local namespace registry- Returns:
- remote namespace registry adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteNodeTypeManager
public RemoteNodeTypeManager getRemoteNodeTypeManager(NodeTypeManager manager) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeTypeManager
instance. Returns a remote adapter for the given local node type manager.- Specified by:
getRemoteNodeTypeManager
in interfaceRemoteAdapterFactory
- Parameters:
manager
- local node type manager- Returns:
- remote node type manager adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteItem
public RemoteItem getRemoteItem(Item item) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerItem
instance. Returns a remote adapter for the given local item. This method will return an adapter that implements only theItem
interface. The caller may want to introspect the local item to determine whether to use either thegetRemoteNode
or thegetRemoteProperty
method instead.- Specified by:
getRemoteItem
in interfaceRemoteAdapterFactory
- Parameters:
item
- local item- Returns:
- remote item adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteProperty
public RemoteProperty getRemoteProperty(Property property) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerProperty
instance. Returns a remote adapter for the given local property.- Specified by:
getRemoteProperty
in interfaceRemoteAdapterFactory
- Parameters:
property
- local property- Returns:
- remote property adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteNode
public RemoteNode getRemoteNode(Node node) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNode
instance. Returns a remote adapter for the given local node.- Specified by:
getRemoteNode
in interfaceRemoteAdapterFactory
- Parameters:
node
- local node- Returns:
- remote node adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteVersion
public RemoteVersion getRemoteVersion(Version version) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerVersion
instance. Returns a remote adapter for the given local version.- Specified by:
getRemoteVersion
in interfaceRemoteAdapterFactory
- Parameters:
version
- local version- Returns:
- remote version adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteVersionHistory
public RemoteVersionHistory getRemoteVersionHistory(VersionHistory versionHistory) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerVersionHistory
instance. Returns a remote adapter for the given local version history.- Specified by:
getRemoteVersionHistory
in interfaceRemoteAdapterFactory
- Parameters:
versionHistory
- local version history- Returns:
- remote version history adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteNodeType
public RemoteNodeType getRemoteNodeType(NodeType type) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeType
instance. Returns a remote adapter for the given local node type.- Specified by:
getRemoteNodeType
in interfaceRemoteAdapterFactory
- Parameters:
type
- local node type- Returns:
- remote node type adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteItemDefinition
public RemoteItemDefinition getRemoteItemDefinition(ItemDefinition def) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerItemDefinition
instance. Returns a remote adapter for the given local item definition. This method will return an adapter that implements only theItemDefinition
interface. The caller may want to introspect the local item definition to determine whether to use either thegetRemoteNodeDef
or thegetRemotePropertyDef
method instead.- Specified by:
getRemoteItemDefinition
in interfaceRemoteAdapterFactory
- Parameters:
def
- local item definition- Returns:
- remote item definition adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteNodeDefinition
public RemoteNodeDefinition getRemoteNodeDefinition(NodeDefinition def) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeDefinition
instance. Returns a remote adapter for the given local node definition.- Specified by:
getRemoteNodeDefinition
in interfaceRemoteAdapterFactory
- Parameters:
def
- local node definition- Returns:
- remote node definition adapter
- Throws:
RemoteException
- on RMI errors
-
getRemotePropertyDefinition
public RemotePropertyDefinition getRemotePropertyDefinition(PropertyDefinition def) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerPropertyDefinition
instance. Returns a remote adapter for the given local property definition.- Specified by:
getRemotePropertyDefinition
in interfaceRemoteAdapterFactory
- Parameters:
def
- local property definition- Returns:
- remote property definition adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteLock
public RemoteLock getRemoteLock(Lock lock) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerLock
instance. Returns a remote adapter for the given local lock.- Specified by:
getRemoteLock
in interfaceRemoteAdapterFactory
- Parameters:
lock
- local lock- Returns:
- remote lock adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteQueryManager
public RemoteQueryManager getRemoteQueryManager(Session session, QueryManager manager) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerQueryManager
instance. Returns a remote adapter for the given local query manager.- Specified by:
getRemoteQueryManager
in interfaceRemoteAdapterFactory
- Parameters:
session
- current sessionmanager
- local query manager- Returns:
- remote query manager adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteQuery
public RemoteQuery getRemoteQuery(Query query) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerQuery
instance. Returns a remote adapter for the given local query.- Specified by:
getRemoteQuery
in interfaceRemoteAdapterFactory
- Parameters:
query
- local query- Returns:
- remote query adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteQueryResult
public RemoteQueryResult getRemoteQueryResult(QueryResult result) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerQueryResult
instance. Returns a remote adapter for the given local query result.- Specified by:
getRemoteQueryResult
in interfaceRemoteAdapterFactory
- Parameters:
result
- local query result- Returns:
- remote query result adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteRow
public RemoteRow getRemoteRow(Row row) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerQueryResult
instance. Returns a remote adapter for the given local query row.- Specified by:
getRemoteRow
in interfaceRemoteAdapterFactory
- Parameters:
row
- local query row- Returns:
- remote query row adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteEvent
public RemoteEventCollection getRemoteEvent(long listenerId, EventIterator events) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerEventCollection
instances. Returns a remote adapter for the given local events.- Specified by:
getRemoteEvent
in interfaceRemoteAdapterFactory
- Parameters:
listenerId
- The listener identifier to which the events are to be dispatched.events
- the local events- Returns:
- remote event iterator adapter
- Throws:
RemoteException
- on RMI errors
-
optimizeIterator
protected RemoteIterator optimizeIterator(RemoteIterator remote) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Optimizes the given remote iterator for transmission across the network. This method retrieves the first set of elements from the iterator by callingRemoteIterator.nextObjects()
and then asks for the total size of the iterator. If the size is unkown or greater than the length of the retrieved array, then the elements, the size, and the remote iterator reference are wrapped into aBufferIterator
instance that gets passed over the network. If the retrieved array of elements contains all the elements in the iterator, then the iterator instance is discarded and just the elements are wrapped into aArrayIterator
instance to be passed to the client.Subclasses can override this method to provide alternative optimizations.
- Parameters:
remote
- remote iterator- Returns:
- optimized remote iterator
- Throws:
RemoteException
- on RMI errors
-
getRemoteNodeIterator
public RemoteIterator getRemoteNodeIterator(NodeIterator iterator) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeIterator
instance. Returns a remote adapter for the given local node iterator.- Specified by:
getRemoteNodeIterator
in interfaceRemoteAdapterFactory
- Parameters:
iterator
- local node iterator- Returns:
- remote iterator adapter
- Throws:
RemoteException
- on RMI errors
-
getRemotePropertyIterator
public RemoteIterator getRemotePropertyIterator(PropertyIterator iterator) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerPropertyIterator
instance. Returns a remote adapter for the given local property iterator.- Specified by:
getRemotePropertyIterator
in interfaceRemoteAdapterFactory
- Parameters:
iterator
- local property iterator- Returns:
- remote iterator adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteVersionIterator
public RemoteIterator getRemoteVersionIterator(VersionIterator iterator) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerVersionIterator
instance. Returns a remote adapter for the given local version iterator.- Specified by:
getRemoteVersionIterator
in interfaceRemoteAdapterFactory
- Parameters:
iterator
- local version iterator- Returns:
- remote iterator adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteNodeTypeIterator
public RemoteIterator getRemoteNodeTypeIterator(NodeTypeIterator iterator) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeTypeIterator
instance. Returns a remote adapter for the given local node type iterator.- Specified by:
getRemoteNodeTypeIterator
in interfaceRemoteAdapterFactory
- Parameters:
iterator
- local node type iterator- Returns:
- remote iterator adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteRowIterator
public RemoteIterator getRemoteRowIterator(RowIterator iterator) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerRowIterator
instance. Returns a remote adapter for the given local row iterator.- Specified by:
getRemoteRowIterator
in interfaceRemoteAdapterFactory
- Parameters:
iterator
- local row iterator- Returns:
- remote iterator adapter
- Throws:
RemoteException
- on RMI errors
-
getRemoteLockManager
public RemoteLockManager getRemoteLockManager(LockManager lockManager) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRemoteLockManager
in interfaceRemoteAdapterFactory
- Throws:
RemoteException
-
getRemoteVersionManager
public RemoteVersionManager getRemoteVersionManager(Session session, VersionManager versionManager) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRemoteVersionManager
in interfaceRemoteAdapterFactory
- Throws:
RemoteException
-
getRemoteAccessControlManager
public RemoteAccessControlManager getRemoteAccessControlManager(AccessControlManager acm) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerAccessControlManager
instance. Returns a remote adapter for the given local access control manager.- Specified by:
getRemoteAccessControlManager
in interfaceRemoteAdapterFactory
- Parameters:
acm
- local access control manager- Returns:
- remote access control manager
- Throws:
RemoteException
- on RMI errors
-
getRemotePrivilege
public RemotePrivilege getRemotePrivilege(Privilege local) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteAdapterFactory
Returns a remote adapter for the given local access control manager.- Specified by:
getRemotePrivilege
in interfaceRemoteAdapterFactory
- Returns:
- remote access control manager
- Throws:
RemoteException
- on RMI errors
-
getRemotePrivilege
public RemotePrivilege[] getRemotePrivilege(Privilege[] local) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteAdapterFactory
Returns a remote adapter for the given local access control manager.- Specified by:
getRemotePrivilege
in interfaceRemoteAdapterFactory
- Returns:
- remote access control manager
- Throws:
RemoteException
- on RMI errors
-
getRemoteAccessControlPolicy
public RemoteAccessControlPolicy getRemoteAccessControlPolicy(AccessControlPolicy local) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteAdapterFactory
Returns a remote adapter for the given local access control manager.- Specified by:
getRemoteAccessControlPolicy
in interfaceRemoteAdapterFactory
- Returns:
- remote access control manager
- Throws:
RemoteException
- on RMI errors
-
getRemoteAccessControlPolicy
public RemoteAccessControlPolicy[] getRemoteAccessControlPolicy(AccessControlPolicy[] local) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteAdapterFactory
Returns a remote adapter for the given local access control manager.- Specified by:
getRemoteAccessControlPolicy
in interfaceRemoteAdapterFactory
- Returns:
- remote access control manager
- Throws:
RemoteException
- on RMI errors
-
getRemoteAccessControlPolicyIterator
public RemoteIterator getRemoteAccessControlPolicyIterator(AccessControlPolicyIterator iterator) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates aServerNodeIterator
instance. Returns a remote adapter for the given local access control manager.- Specified by:
getRemoteAccessControlPolicyIterator
in interfaceRemoteAdapterFactory
- Returns:
- remote access control manager
- Throws:
RemoteException
- on RMI errors
-
getRemoteAccessControlEntry
public RemoteAccessControlEntry getRemoteAccessControlEntry(AccessControlEntry local) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteAdapterFactory
Returns a remote adapter for the given local access control manager.- Specified by:
getRemoteAccessControlEntry
in interfaceRemoteAdapterFactory
- Returns:
- remote access control manager
- Throws:
RemoteException
- on RMI errors
-
getRemoteAccessControlEntry
public RemoteAccessControlEntry[] getRemoteAccessControlEntry(AccessControlEntry[] local) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteAdapterFactory
Returns a remote adapter for the given local access control manager.- Specified by:
getRemoteAccessControlEntry
in interfaceRemoteAdapterFactory
- Returns:
- remote access control manager
- Throws:
RemoteException
- on RMI errors
-
getRemotePrincipal
public RemotePrincipal getRemotePrincipal(Principal principal) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteAdapterFactory
Returns a remote adapter for the given local access control manager.- Specified by:
getRemotePrincipal
in interfaceRemoteAdapterFactory
- Returns:
- remote access control manager
- Throws:
RemoteException
- on RMI errors
-
getRemotePrincipalIterator
public RemoteIterator getRemotePrincipalIterator(Iterator<Principal> principals) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RemoteAdapterFactory
Returns a remote adapter for the given local access control manager.- Specified by:
getRemotePrincipalIterator
in interfaceRemoteAdapterFactory
- Returns:
- remote access control manager
- Throws:
RemoteException
- on RMI errors
-
-