Factory interface for creating local adapters for remote references. This interface defines how remote JCR-RMI references are adapted back to the normal JCR interfaces. The adaption mechanism can be modified (for example to add extra features) by changing the local adapter factory used by the repository client.
Note that the
ClientObject
base class provides a number of utility methods designed to work with
a local adapter factory. Adapter implementations may want to inherit
that functionality by subclassing from ClientObject.
@Deprecated public interface LocalAdapterFactory
RemoteAdapterFactory
,
ClientAdapterFactory
,
ClientObject
Modifier and Type | Method and Description |
---|---|
AccessControlEntry |
getAccessControlEntry(RemoteAccessControlEntry remote)
Deprecated.
Factory method for creating a local adapter for a remote access control
entry
|
AccessControlEntry[] |
getAccessControlEntry(RemoteAccessControlEntry[] remote)
Deprecated.
Factory method for creating an array of local adapter for an array of
remote access control entry
|
AccessControlManager |
getAccessControlManager(RemoteAccessControlManager remote)
Deprecated.
Factory method for creating a local adapter for a remote access control
manager
|
AccessControlPolicy |
getAccessControlPolicy(RemoteAccessControlPolicy remote)
Deprecated.
Factory method for creating a local adapter for a remote access control
policy
|
AccessControlPolicy[] |
getAccessControlPolicy(RemoteAccessControlPolicy[] remote)
Deprecated.
Factory method for creating an array of local adapter for an array of
remote access control policies
|
AccessControlPolicyIterator |
getAccessControlPolicyIterator(RemoteIterator remote)
Deprecated.
Factory method for creating a local adapter for a remote access control
policy iterator
|
Item |
getItem(Session session,
RemoteItem remote)
Deprecated.
Factory method for creating a local adapter for a remote item.
|
ItemDefinition |
getItemDef(RemoteItemDefinition remote)
Deprecated.
Factory method for creating a local adapter for a remote item
definition.
|
Lock |
getLock(Session session,
RemoteLock remote)
Deprecated.
Factory method for creating a local adapter for a remote lock.
|
LockManager |
getLockManager(Session session,
RemoteLockManager lockManager)
Deprecated.
|
NamespaceRegistry |
getNamespaceRegistry(RemoteNamespaceRegistry remote)
Deprecated.
Factory method for creating a local adapter for a remote namespace
registry.
|
Node |
getNode(Session session,
RemoteNode remote)
Deprecated.
Factory method for creating a local adapter for a remote node.
|
NodeDefinition |
getNodeDef(RemoteNodeDefinition remote)
Deprecated.
Factory method for creating a local adapter for a remote node
definition.
|
NodeIterator |
getNodeIterator(Session session,
RemoteIterator remote)
Deprecated.
Factory method for creating a local adapter for a remote node iterator.
|
NodeType |
getNodeType(RemoteNodeType remote)
Deprecated.
Factory method for creating a local adapter for a remote node type.
|
NodeTypeIterator |
getNodeTypeIterator(RemoteIterator remote)
Deprecated.
Factory method for creating a local adapter for a remote
node type iterator.
|
NodeTypeManager |
getNodeTypeManager(RemoteNodeTypeManager remote)
Deprecated.
Factory method for creating a local adapter for a remote node type
manager.
|
ObservationManager |
getObservationManager(Workspace workspace,
RemoteObservationManager remote)
Deprecated.
Factory method for creating a local adapter for a remote observation
manager.
|
Principal |
getPrincipal(RemotePrincipal remote)
Deprecated.
Factory method for creating a local adapter for a remote principal.
|
Iterator<Principal> |
getPrincipalIterator(RemoteIterator remote)
Deprecated.
Factory method for creating a local adapter for a remote principal
iterator.
|
Privilege |
getPrivilege(RemotePrivilege remote)
Deprecated.
Factory method for creating a local adapter for a remote privilege
|
Privilege[] |
getPrivilege(RemotePrivilege[] remote)
Deprecated.
Factory method for creating an array of local adapter for an array of
remote privilege
|
Property |
getProperty(Session session,
RemoteProperty remote)
Deprecated.
Factory method for creating a local adapter for a remote property.
|
PropertyDefinition |
getPropertyDef(RemotePropertyDefinition remote)
Deprecated.
Factory method for creating a local adapter for a remote property
definition.
|
PropertyIterator |
getPropertyIterator(Session session,
RemoteIterator remote)
Deprecated.
Factory method for creating a local adapter for a remote property iterator.
|
Query |
getQuery(Session session,
RemoteQuery remote)
Deprecated.
Factory method for creating a local adapter for a remote query.
|
QueryManager |
getQueryManager(Session session,
RemoteQueryManager remote)
Deprecated.
Factory method for creating a local adapter for a remote query manager.
|
QueryResult |
getQueryResult(Session session,
RemoteQueryResult remote)
Deprecated.
Factory method for creating a local adapter for a remote query result.
|
Repository |
getRepository(RemoteRepository remote)
Deprecated.
Factory method for creating a local adapter for a remote repository.
|
Row |
getRow(Session session,
RemoteRow remote)
Deprecated.
Factory method for creating a local adapter for a remote query row.
|
RowIterator |
getRowIterator(Session session,
RemoteIterator remote)
Deprecated.
Factory method for creating a local adapter for a remote row iterator.
|
Session |
getSession(Repository repository,
RemoteSession remote)
Deprecated.
Factory method for creating a local adapter for a remote session.
|
Version |
getVersion(Session session,
RemoteVersion remote)
Deprecated.
Factory method for creating a local adapter for a remote version.
|
VersionHistory |
getVersionHistory(Session session,
RemoteVersionHistory remote)
Deprecated.
Factory method for creating a local adapter for a remote version history.
|
VersionIterator |
getVersionIterator(Session session,
RemoteIterator remote)
Deprecated.
Factory method for creating a local adapter for a remote version iterator.
|
VersionManager |
getVersionManager(Session session,
RemoteVersionManager versionManager)
Deprecated.
|
Workspace |
getWorkspace(Session session,
RemoteWorkspace remote)
Deprecated.
Factory method for creating a local adapter for a remote workspace.
|
Repository getRepository(RemoteRepository remote)
remote
- remote repositorySession getSession(Repository repository, RemoteSession remote)
repository
- current repositoryremote
- remote sessionWorkspace getWorkspace(Session session, RemoteWorkspace remote)
session
- current sessionremote
- remote workspaceObservationManager getObservationManager(Workspace workspace, RemoteObservationManager remote)
workspace
- current workspaceremote
- remote observation managerNamespaceRegistry getNamespaceRegistry(RemoteNamespaceRegistry remote)
remote
- remote namespace registryNodeTypeManager getNodeTypeManager(RemoteNodeTypeManager remote)
remote
- remote node type managerItem getItem(Session session, RemoteItem remote)
getNode
or
getProperty
method
instead, as the adapter returned by this method will only cover
the basic Item
interface.session
- current sessionremote
- remote itemProperty getProperty(Session session, RemoteProperty remote)
session
- current sessionremote
- remote propertyNode getNode(Session session, RemoteNode remote)
session
- current sessionremote
- remote nodeVersion getVersion(Session session, RemoteVersion remote)
session
- current sessionremote
- remote versionVersionHistory getVersionHistory(Session session, RemoteVersionHistory remote)
session
- current sessionremote
- remote version historyNodeType getNodeType(RemoteNodeType remote)
remote
- remote node typeItemDefinition getItemDef(RemoteItemDefinition remote)
getNodeDef
or
getPropertyDef
method
instead, as the adapter returned by this method will only cover
the ItemDef
base interface.remote
- remote item definitionNodeDefinition getNodeDef(RemoteNodeDefinition remote)
remote
- remote node definitionPropertyDefinition getPropertyDef(RemotePropertyDefinition remote)
remote
- remote property definitionLock getLock(Session session, RemoteLock remote)
session
- current sessionremote
- remote lockQueryManager getQueryManager(Session session, RemoteQueryManager remote)
session
- current sessionremote
- remote query managerQuery getQuery(Session session, RemoteQuery remote)
session
- current sessionremote
- remote queryQueryResult getQueryResult(Session session, RemoteQueryResult remote)
session
- current sessionremote
- remote query resultRow getRow(Session session, RemoteRow remote)
session
- current sessionremote
- remote query rowNodeIterator getNodeIterator(Session session, RemoteIterator remote)
session
- current sessionremote
- remote node iteratorPropertyIterator getPropertyIterator(Session session, RemoteIterator remote)
session
- current sessionremote
- remote property iteratorVersionIterator getVersionIterator(Session session, RemoteIterator remote)
session
- current sessionremote
- remote version iteratorNodeTypeIterator getNodeTypeIterator(RemoteIterator remote)
remote
- remote node type iteratorRowIterator getRowIterator(Session session, RemoteIterator remote)
session
- current sessionremote
- remote row iteratorLockManager getLockManager(Session session, RemoteLockManager lockManager)
VersionManager getVersionManager(Session session, RemoteVersionManager versionManager)
AccessControlManager getAccessControlManager(RemoteAccessControlManager remote)
remote
- remote access control managerAccessControlPolicy getAccessControlPolicy(RemoteAccessControlPolicy remote)
remote
- remote access control policyAccessControlPolicy[] getAccessControlPolicy(RemoteAccessControlPolicy[] remote)
remote
- array of remote access control policiesAccessControlPolicyIterator getAccessControlPolicyIterator(RemoteIterator remote)
remote
- access control policy iteratorAccessControlEntry getAccessControlEntry(RemoteAccessControlEntry remote)
remote
- remote access control entryAccessControlEntry[] getAccessControlEntry(RemoteAccessControlEntry[] remote)
remote
- array of remote access control entryPrincipal getPrincipal(RemotePrincipal remote)
If remote
is a RemoteGroup
the
principal returned implements the org.apache.jackrabbit.api.security.principal.GroupPrincipal
interface.
remote
- principalIterator<Principal> getPrincipalIterator(RemoteIterator remote)
Each entry in the remote
iterator which is a
RemoteGroup
will be
provided as a principal implementing the
org.apache.jackrabbit.api.security.principal.GroupPrincipal
interface.
remote
- remote principal iteratorPrivilege getPrivilege(RemotePrivilege remote)
remote
- remote privilegePrivilege[] getPrivilege(RemotePrivilege[] remote)
remote
- array of remote privilegeCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.