Factory interface for creating remote adapters for local resources. This interface defines how the local JCR interfaces are adapted to remote JCR-RMI references. The adaption mechanism can be modified (for example to add extra features) by changing the remote adapter factory used by the repository server.
Note that the ServerObject
base class provides
a number of utility methods designed to work with a remote adapter
factory. Adapter implementations may want to inherit that functionality
by subclassing from ServerObject.
@Deprecated public interface RemoteAdapterFactory
LocalAdapterFactory
,
ServerAdapterFactory
,
ServerObject
Modifier and Type | Method and Description |
---|---|
int |
getPortNumber()
Deprecated.
Returns the port number to which the server objects created by
this factory are bound.
|
RemoteAccessControlEntry |
getRemoteAccessControlEntry(AccessControlEntry local)
Deprecated.
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlEntry[] |
getRemoteAccessControlEntry(AccessControlEntry[] local)
Deprecated.
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlManager |
getRemoteAccessControlManager(AccessControlManager acm)
Deprecated.
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlPolicy |
getRemoteAccessControlPolicy(AccessControlPolicy local)
Deprecated.
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlPolicy[] |
getRemoteAccessControlPolicy(AccessControlPolicy[] local)
Deprecated.
Returns a remote adapter for the given local access control manager.
|
RemoteIterator |
getRemoteAccessControlPolicyIterator(AccessControlPolicyIterator iterator)
Deprecated.
Returns a remote adapter for the given local access control manager.
|
RemoteEventCollection |
getRemoteEvent(long listenerId,
EventIterator events)
Deprecated.
Returns a remote adapter for the given local events.
|
RemoteItem |
getRemoteItem(Item item)
Deprecated.
Returns a remote adapter for the given local item.
|
RemoteItemDefinition |
getRemoteItemDefinition(ItemDefinition def)
Deprecated.
Returns a remote adapter for the given local item definition.
|
RemoteLock |
getRemoteLock(Lock lock)
Deprecated.
Returns a remote adapter for the given local lock.
|
RemoteLockManager |
getRemoteLockManager(LockManager lockManager)
Deprecated.
|
RemoteNamespaceRegistry |
getRemoteNamespaceRegistry(NamespaceRegistry registry)
Deprecated.
Returns a remote adapter for the given local namespace registry.
|
RemoteNode |
getRemoteNode(Node node)
Deprecated.
Returns a remote adapter for the given local node.
|
RemoteNodeDefinition |
getRemoteNodeDefinition(NodeDefinition def)
Deprecated.
Returns a remote adapter for the given local node definition.
|
RemoteIterator |
getRemoteNodeIterator(NodeIterator iterator)
Deprecated.
Returns a remote adapter for the given local node iterator.
|
RemoteNodeType |
getRemoteNodeType(NodeType type)
Deprecated.
Returns a remote adapter for the given local node type.
|
RemoteIterator |
getRemoteNodeTypeIterator(NodeTypeIterator iterator)
Deprecated.
Returns a remote adapter for the given local node type iterator.
|
RemoteNodeTypeManager |
getRemoteNodeTypeManager(NodeTypeManager manager)
Deprecated.
Returns a remote adapter for the given local node type manager.
|
RemoteObservationManager |
getRemoteObservationManager(ObservationManager observationManager)
Deprecated.
Returns a remote adapter for the given local observation manager.
|
RemotePrincipal |
getRemotePrincipal(Principal principal)
Deprecated.
Returns a remote adapter for the given local access control manager.
|
RemoteIterator |
getRemotePrincipalIterator(Iterator<Principal> principals)
Deprecated.
Returns a remote adapter for the given local access control manager.
|
RemotePrivilege |
getRemotePrivilege(Privilege local)
Deprecated.
Returns a remote adapter for the given local access control manager.
|
RemotePrivilege[] |
getRemotePrivilege(Privilege[] local)
Deprecated.
Returns a remote adapter for the given local access control manager.
|
RemoteProperty |
getRemoteProperty(Property property)
Deprecated.
Returns a remote adapter for the given local property.
|
RemotePropertyDefinition |
getRemotePropertyDefinition(PropertyDefinition def)
Deprecated.
Returns a remote adapter for the given local property definition.
|
RemoteIterator |
getRemotePropertyIterator(PropertyIterator iterator)
Deprecated.
Returns a remote adapter for the given local property iterator.
|
RemoteQuery |
getRemoteQuery(Query query)
Deprecated.
Returns a remote adapter for the given local query.
|
RemoteQueryManager |
getRemoteQueryManager(Session session,
QueryManager manager)
Deprecated.
Returns a remote adapter for the given local query manager.
|
RemoteQueryResult |
getRemoteQueryResult(QueryResult result)
Deprecated.
Returns a remote adapter for the given local query result.
|
RemoteRepository |
getRemoteRepository(Repository repository)
Deprecated.
Returns a remote adapter for the given local repository.
|
RemoteRow |
getRemoteRow(Row row)
Deprecated.
Returns a remote adapter for the given local query row.
|
RemoteIterator |
getRemoteRowIterator(RowIterator iterator)
Deprecated.
Returns a remote adapter for the given local row iterator.
|
RemoteSession |
getRemoteSession(Session session)
Deprecated.
Returns a remote adapter for the given local session.
|
RemoteVersion |
getRemoteVersion(Version version)
Deprecated.
Returns a remote adapter for the given local version.
|
RemoteVersionHistory |
getRemoteVersionHistory(VersionHistory versionHistory)
Deprecated.
Returns a remote adapter for the given local version history.
|
RemoteIterator |
getRemoteVersionIterator(VersionIterator iterator)
Deprecated.
Returns a remote adapter for the given local version iterator.
|
RemoteVersionManager |
getRemoteVersionManager(Session session,
VersionManager versionManager)
Deprecated.
|
RemoteWorkspace |
getRemoteWorkspace(Workspace workspace)
Deprecated.
Returns a remote adapter for the given local workspace.
|
int getPortNumber()
ServerObject
constructor to determine which port number
to use.RemoteRepository getRemoteRepository(Repository repository) throws RemoteException
repository
- local repositoryRemoteException
- on RMI errorsRemoteSession getRemoteSession(Session session) throws RemoteException
session
- local sessionRemoteException
- on RMI errorsRemoteWorkspace getRemoteWorkspace(Workspace workspace) throws RemoteException
workspace
- local workspaceRemoteException
- on RMI errorsRemoteObservationManager getRemoteObservationManager(ObservationManager observationManager) throws RemoteException
observationManager
- local observation managerRemoteException
- on RMI errorsRemoteNamespaceRegistry getRemoteNamespaceRegistry(NamespaceRegistry registry) throws RemoteException
registry
- local namespace registryRemoteException
- on RMI errorsRemoteNodeTypeManager getRemoteNodeTypeManager(NodeTypeManager manager) throws RemoteException
manager
- local node type managerRemoteException
- on RMI errorsRemoteItem getRemoteItem(Item item) throws RemoteException
Item
interface. The caller may want to introspect
the local item to determine whether to use either the
getRemoteNode
or the
getRemoteProperty
method instead.item
- local itemRemoteException
- on RMI errorsRemoteProperty getRemoteProperty(Property property) throws RemoteException
property
- local propertyRemoteException
- on RMI errorsRemoteNode getRemoteNode(Node node) throws RemoteException
node
- local nodeRemoteException
- on RMI errorsRemoteVersion getRemoteVersion(Version version) throws RemoteException
version
- local versionRemoteException
- on RMI errorsRemoteVersionHistory getRemoteVersionHistory(VersionHistory versionHistory) throws RemoteException
versionHistory
- local version historyRemoteException
- on RMI errorsRemoteNodeType getRemoteNodeType(NodeType type) throws RemoteException
type
- local node typeRemoteException
- on RMI errorsRemoteItemDefinition getRemoteItemDefinition(ItemDefinition def) throws RemoteException
ItemDefinition
interface. The caller may want to introspect
the local item definition to determine whether to use either the
getRemoteNodeDef
or the
getRemotePropertyDef
method instead.def
- local item definitionRemoteException
- on RMI errorsRemoteNodeDefinition getRemoteNodeDefinition(NodeDefinition def) throws RemoteException
def
- local node definitionRemoteException
- on RMI errorsRemotePropertyDefinition getRemotePropertyDefinition(PropertyDefinition def) throws RemoteException
def
- local property definitionRemoteException
- on RMI errorsRemoteLock getRemoteLock(Lock lock) throws RemoteException
lock
- local lockRemoteException
- on RMI errorsRemoteQueryManager getRemoteQueryManager(Session session, QueryManager manager) throws RemoteException
session
- current sessionmanager
- local query managerRemoteException
- on RMI errorsRemoteQuery getRemoteQuery(Query query) throws RemoteException
query
- local queryRemoteException
- on RMI errorsRemoteQueryResult getRemoteQueryResult(QueryResult result) throws RemoteException
result
- local query resultRemoteException
- on RMI errorsRemoteRow getRemoteRow(Row row) throws RemoteException
row
- local query rowRemoteException
- on RMI errorsRemoteEventCollection getRemoteEvent(long listenerId, EventIterator events) throws RemoteException
listenerId
- The listener identifier to which the events are to be
dispatched.events
- the local eventsRemoteException
- on RMI errorsRemoteIterator getRemoteNodeIterator(NodeIterator iterator) throws RemoteException
iterator
- local node iteratorRemoteException
- on RMI errorsRemoteIterator getRemotePropertyIterator(PropertyIterator iterator) throws RemoteException
iterator
- local property iteratorRemoteException
- on RMI errorsRemoteIterator getRemoteVersionIterator(VersionIterator iterator) throws RemoteException
iterator
- local version iteratorRemoteException
- on RMI errorsRemoteIterator getRemoteNodeTypeIterator(NodeTypeIterator iterator) throws RemoteException
iterator
- local node type iteratorRemoteException
- on RMI errorsRemoteIterator getRemoteRowIterator(RowIterator iterator) throws RemoteException
iterator
- local row iteratorRemoteException
- on RMI errorsRemoteLockManager getRemoteLockManager(LockManager lockManager) throws RemoteException
RemoteException
RemoteVersionManager getRemoteVersionManager(Session session, VersionManager versionManager) throws RemoteException
RemoteException
RemoteAccessControlManager getRemoteAccessControlManager(AccessControlManager acm) throws RemoteException
acm
- local access control managerRemoteException
- on RMI errorsRemotePrivilege getRemotePrivilege(Privilege local) throws RemoteException
RemoteException
- on RMI errorsRemotePrivilege[] getRemotePrivilege(Privilege[] local) throws RemoteException
RemoteException
- on RMI errorsRemoteAccessControlPolicy getRemoteAccessControlPolicy(AccessControlPolicy local) throws RemoteException
RemoteException
- on RMI errorsRemoteAccessControlPolicy[] getRemoteAccessControlPolicy(AccessControlPolicy[] local) throws RemoteException
RemoteException
- on RMI errorsRemoteIterator getRemoteAccessControlPolicyIterator(AccessControlPolicyIterator iterator) throws RemoteException
RemoteException
- on RMI errorsRemoteAccessControlEntry getRemoteAccessControlEntry(AccessControlEntry local) throws RemoteException
RemoteException
- on RMI errorsRemoteAccessControlEntry[] getRemoteAccessControlEntry(AccessControlEntry[] local) throws RemoteException
RemoteException
- on RMI errorsRemotePrincipal getRemotePrincipal(Principal principal) throws RemoteException
RemoteException
- on RMI errorsRemoteIterator getRemotePrincipalIterator(Iterator<Principal> principals) throws RemoteException
RemoteException
- on RMI errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.