public interface RemoteAdapterFactory
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.
LocalAdapterFactory
,
ServerAdapterFactory
,
ServerObject
Modifier and Type | Method and Description |
---|---|
int |
getPortNumber()
Returns the port number to which the server objects created by
this factory are bound.
|
RemoteAccessControlEntry |
getRemoteAccessControlEntry(javax.jcr.security.AccessControlEntry local)
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlEntry[] |
getRemoteAccessControlEntry(javax.jcr.security.AccessControlEntry[] local)
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlManager |
getRemoteAccessControlManager(javax.jcr.security.AccessControlManager acm)
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlPolicy |
getRemoteAccessControlPolicy(javax.jcr.security.AccessControlPolicy local)
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlPolicy[] |
getRemoteAccessControlPolicy(javax.jcr.security.AccessControlPolicy[] local)
Returns a remote adapter for the given local access control manager.
|
RemoteIterator |
getRemoteAccessControlPolicyIterator(javax.jcr.security.AccessControlPolicyIterator iterator)
Returns a remote adapter for the given local access control manager.
|
RemoteEventCollection |
getRemoteEvent(long listenerId,
javax.jcr.observation.EventIterator events)
Returns a remote adapter for the given local events.
|
RemoteItem |
getRemoteItem(javax.jcr.Item item)
Returns a remote adapter for the given local item.
|
RemoteItemDefinition |
getRemoteItemDefinition(javax.jcr.nodetype.ItemDefinition def)
Returns a remote adapter for the given local item definition.
|
RemoteLock |
getRemoteLock(javax.jcr.lock.Lock lock)
Returns a remote adapter for the given local lock.
|
RemoteLockManager |
getRemoteLockManager(javax.jcr.lock.LockManager lockManager) |
RemoteNamespaceRegistry |
getRemoteNamespaceRegistry(javax.jcr.NamespaceRegistry registry)
Returns a remote adapter for the given local namespace registry.
|
RemoteNode |
getRemoteNode(javax.jcr.Node node)
Returns a remote adapter for the given local node.
|
RemoteNodeDefinition |
getRemoteNodeDefinition(javax.jcr.nodetype.NodeDefinition def)
Returns a remote adapter for the given local node definition.
|
RemoteIterator |
getRemoteNodeIterator(javax.jcr.NodeIterator iterator)
Returns a remote adapter for the given local node iterator.
|
RemoteNodeType |
getRemoteNodeType(javax.jcr.nodetype.NodeType type)
Returns a remote adapter for the given local node type.
|
RemoteIterator |
getRemoteNodeTypeIterator(javax.jcr.nodetype.NodeTypeIterator iterator)
Returns a remote adapter for the given local node type iterator.
|
RemoteNodeTypeManager |
getRemoteNodeTypeManager(javax.jcr.nodetype.NodeTypeManager manager)
Returns a remote adapter for the given local node type manager.
|
RemoteObservationManager |
getRemoteObservationManager(javax.jcr.observation.ObservationManager observationManager)
Returns a remote adapter for the given local observation manager.
|
RemotePrincipal |
getRemotePrincipal(Principal principal)
Returns a remote adapter for the given local access control manager.
|
RemoteIterator |
getRemotePrincipalIterator(Iterator<Principal> principals)
Returns a remote adapter for the given local access control manager.
|
RemotePrivilege |
getRemotePrivilege(javax.jcr.security.Privilege local)
Returns a remote adapter for the given local access control manager.
|
RemotePrivilege[] |
getRemotePrivilege(javax.jcr.security.Privilege[] local)
Returns a remote adapter for the given local access control manager.
|
RemoteProperty |
getRemoteProperty(javax.jcr.Property property)
Returns a remote adapter for the given local property.
|
RemotePropertyDefinition |
getRemotePropertyDefinition(javax.jcr.nodetype.PropertyDefinition def)
Returns a remote adapter for the given local property definition.
|
RemoteIterator |
getRemotePropertyIterator(javax.jcr.PropertyIterator iterator)
Returns a remote adapter for the given local property iterator.
|
RemoteQuery |
getRemoteQuery(javax.jcr.query.Query query)
Returns a remote adapter for the given local query.
|
RemoteQueryManager |
getRemoteQueryManager(javax.jcr.Session session,
javax.jcr.query.QueryManager manager)
Returns a remote adapter for the given local query manager.
|
RemoteQueryResult |
getRemoteQueryResult(javax.jcr.query.QueryResult result)
Returns a remote adapter for the given local query result.
|
RemoteRepository |
getRemoteRepository(javax.jcr.Repository repository)
Returns a remote adapter for the given local repository.
|
RemoteRow |
getRemoteRow(javax.jcr.query.Row row)
Returns a remote adapter for the given local query row.
|
RemoteIterator |
getRemoteRowIterator(javax.jcr.query.RowIterator iterator)
Returns a remote adapter for the given local row iterator.
|
RemoteSession |
getRemoteSession(javax.jcr.Session session)
Returns a remote adapter for the given local session.
|
RemoteVersion |
getRemoteVersion(javax.jcr.version.Version version)
Returns a remote adapter for the given local version.
|
RemoteVersionHistory |
getRemoteVersionHistory(javax.jcr.version.VersionHistory versionHistory)
Returns a remote adapter for the given local version history.
|
RemoteIterator |
getRemoteVersionIterator(javax.jcr.version.VersionIterator iterator)
Returns a remote adapter for the given local version iterator.
|
RemoteVersionManager |
getRemoteVersionManager(javax.jcr.Session session,
javax.jcr.version.VersionManager versionManager) |
RemoteWorkspace |
getRemoteWorkspace(javax.jcr.Workspace workspace)
Returns a remote adapter for the given local workspace.
|
int getPortNumber()
ServerObject
constructor to determine which port number
to use.RemoteRepository getRemoteRepository(javax.jcr.Repository repository) throws RemoteException
repository
- local repositoryRemoteException
- on RMI errorsRemoteSession getRemoteSession(javax.jcr.Session session) throws RemoteException
session
- local sessionRemoteException
- on RMI errorsRemoteWorkspace getRemoteWorkspace(javax.jcr.Workspace workspace) throws RemoteException
workspace
- local workspaceRemoteException
- on RMI errorsRemoteObservationManager getRemoteObservationManager(javax.jcr.observation.ObservationManager observationManager) throws RemoteException
observationManager
- local observation managerRemoteException
- on RMI errorsRemoteNamespaceRegistry getRemoteNamespaceRegistry(javax.jcr.NamespaceRegistry registry) throws RemoteException
registry
- local namespace registryRemoteException
- on RMI errorsRemoteNodeTypeManager getRemoteNodeTypeManager(javax.jcr.nodetype.NodeTypeManager manager) throws RemoteException
manager
- local node type managerRemoteException
- on RMI errorsRemoteItem getRemoteItem(javax.jcr.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(javax.jcr.Property property) throws RemoteException
property
- local propertyRemoteException
- on RMI errorsRemoteNode getRemoteNode(javax.jcr.Node node) throws RemoteException
node
- local nodeRemoteException
- on RMI errorsRemoteVersion getRemoteVersion(javax.jcr.version.Version version) throws RemoteException
version
- local versionRemoteException
- on RMI errorsRemoteVersionHistory getRemoteVersionHistory(javax.jcr.version.VersionHistory versionHistory) throws RemoteException
versionHistory
- local version historyRemoteException
- on RMI errorsRemoteNodeType getRemoteNodeType(javax.jcr.nodetype.NodeType type) throws RemoteException
type
- local node typeRemoteException
- on RMI errorsRemoteItemDefinition getRemoteItemDefinition(javax.jcr.nodetype.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(javax.jcr.nodetype.NodeDefinition def) throws RemoteException
def
- local node definitionRemoteException
- on RMI errorsRemotePropertyDefinition getRemotePropertyDefinition(javax.jcr.nodetype.PropertyDefinition def) throws RemoteException
def
- local property definitionRemoteException
- on RMI errorsRemoteLock getRemoteLock(javax.jcr.lock.Lock lock) throws RemoteException
lock
- local lockRemoteException
- on RMI errorsRemoteQueryManager getRemoteQueryManager(javax.jcr.Session session, javax.jcr.query.QueryManager manager) throws RemoteException
session
- current sessionmanager
- local query managerRemoteException
- on RMI errorsRemoteQuery getRemoteQuery(javax.jcr.query.Query query) throws RemoteException
query
- local queryRemoteException
- on RMI errorsRemoteQueryResult getRemoteQueryResult(javax.jcr.query.QueryResult result) throws RemoteException
result
- local query resultRemoteException
- on RMI errorsRemoteRow getRemoteRow(javax.jcr.query.Row row) throws RemoteException
row
- local query rowRemoteException
- on RMI errorsRemoteEventCollection getRemoteEvent(long listenerId, javax.jcr.observation.EventIterator events) throws RemoteException
listenerId
- The listener identifier to which the events are to be
dispatched.events
- the local eventsRemoteException
- on RMI errorsRemoteIterator getRemoteNodeIterator(javax.jcr.NodeIterator iterator) throws RemoteException
iterator
- local node iteratorRemoteException
- on RMI errorsRemoteIterator getRemotePropertyIterator(javax.jcr.PropertyIterator iterator) throws RemoteException
iterator
- local property iteratorRemoteException
- on RMI errorsRemoteIterator getRemoteVersionIterator(javax.jcr.version.VersionIterator iterator) throws RemoteException
iterator
- local version iteratorRemoteException
- on RMI errorsRemoteIterator getRemoteNodeTypeIterator(javax.jcr.nodetype.NodeTypeIterator iterator) throws RemoteException
iterator
- local node type iteratorRemoteException
- on RMI errorsRemoteIterator getRemoteRowIterator(javax.jcr.query.RowIterator iterator) throws RemoteException
iterator
- local row iteratorRemoteException
- on RMI errorsRemoteLockManager getRemoteLockManager(javax.jcr.lock.LockManager lockManager) throws RemoteException
RemoteException
RemoteVersionManager getRemoteVersionManager(javax.jcr.Session session, javax.jcr.version.VersionManager versionManager) throws RemoteException
RemoteException
RemoteAccessControlManager getRemoteAccessControlManager(javax.jcr.security.AccessControlManager acm) throws RemoteException
acm
- local access control managerRemoteException
- on RMI errorsRemotePrivilege getRemotePrivilege(javax.jcr.security.Privilege local) throws RemoteException
RemoteException
- on RMI errorsRemotePrivilege[] getRemotePrivilege(javax.jcr.security.Privilege[] local) throws RemoteException
RemoteException
- on RMI errorsRemoteAccessControlPolicy getRemoteAccessControlPolicy(javax.jcr.security.AccessControlPolicy local) throws RemoteException
RemoteException
- on RMI errorsRemoteAccessControlPolicy[] getRemoteAccessControlPolicy(javax.jcr.security.AccessControlPolicy[] local) throws RemoteException
RemoteException
- on RMI errorsRemoteIterator getRemoteAccessControlPolicyIterator(javax.jcr.security.AccessControlPolicyIterator iterator) throws RemoteException
RemoteException
- on RMI errorsRemoteAccessControlEntry getRemoteAccessControlEntry(javax.jcr.security.AccessControlEntry local) throws RemoteException
RemoteException
- on RMI errorsRemoteAccessControlEntry[] getRemoteAccessControlEntry(javax.jcr.security.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-2020 The Apache Software Foundation. All Rights Reserved.