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(AccessControlEntry local)
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlEntry[] |
getRemoteAccessControlEntry(AccessControlEntry[] local)
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlManager |
getRemoteAccessControlManager(AccessControlManager acm)
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlPolicy |
getRemoteAccessControlPolicy(AccessControlPolicy local)
Returns a remote adapter for the given local access control manager.
|
RemoteAccessControlPolicy[] |
getRemoteAccessControlPolicy(AccessControlPolicy[] local)
Returns a remote adapter for the given local access control manager.
|
RemoteIterator |
getRemoteAccessControlPolicyIterator(AccessControlPolicyIterator iterator)
Returns a remote adapter for the given local access control manager.
|
RemoteEventCollection |
getRemoteEvent(long listenerId,
EventIterator events)
Returns a remote adapter for the given local events.
|
RemoteItem |
getRemoteItem(Item item)
Returns a remote adapter for the given local item.
|
RemoteItemDefinition |
getRemoteItemDefinition(ItemDefinition def)
Returns a remote adapter for the given local item definition.
|
RemoteLock |
getRemoteLock(Lock lock)
Returns a remote adapter for the given local lock.
|
RemoteLockManager |
getRemoteLockManager(LockManager lockManager) |
RemoteNamespaceRegistry |
getRemoteNamespaceRegistry(NamespaceRegistry registry)
Returns a remote adapter for the given local namespace registry.
|
RemoteNode |
getRemoteNode(Node node)
Returns a remote adapter for the given local node.
|
RemoteNodeDefinition |
getRemoteNodeDefinition(NodeDefinition def)
Returns a remote adapter for the given local node definition.
|
RemoteIterator |
getRemoteNodeIterator(NodeIterator iterator)
Returns a remote adapter for the given local node iterator.
|
RemoteNodeType |
getRemoteNodeType(NodeType type)
Returns a remote adapter for the given local node type.
|
RemoteIterator |
getRemoteNodeTypeIterator(NodeTypeIterator iterator)
Returns a remote adapter for the given local node type iterator.
|
RemoteNodeTypeManager |
getRemoteNodeTypeManager(NodeTypeManager manager)
Returns a remote adapter for the given local node type manager.
|
RemoteObservationManager |
getRemoteObservationManager(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(Privilege local)
Returns a remote adapter for the given local access control manager.
|
RemotePrivilege[] |
getRemotePrivilege(Privilege[] local)
Returns a remote adapter for the given local access control manager.
|
RemoteProperty |
getRemoteProperty(Property property)
Returns a remote adapter for the given local property.
|
RemotePropertyDefinition |
getRemotePropertyDefinition(PropertyDefinition def)
Returns a remote adapter for the given local property definition.
|
RemoteIterator |
getRemotePropertyIterator(PropertyIterator iterator)
Returns a remote adapter for the given local property iterator.
|
RemoteQuery |
getRemoteQuery(Query query)
Returns a remote adapter for the given local query.
|
RemoteQueryManager |
getRemoteQueryManager(Session session,
QueryManager manager)
Returns a remote adapter for the given local query manager.
|
RemoteQueryResult |
getRemoteQueryResult(QueryResult result)
Returns a remote adapter for the given local query result.
|
RemoteRepository |
getRemoteRepository(Repository repository)
Returns a remote adapter for the given local repository.
|
RemoteRow |
getRemoteRow(Row row)
Returns a remote adapter for the given local query row.
|
RemoteIterator |
getRemoteRowIterator(RowIterator iterator)
Returns a remote adapter for the given local row iterator.
|
RemoteSession |
getRemoteSession(Session session)
Returns a remote adapter for the given local session.
|
RemoteVersion |
getRemoteVersion(Version version)
Returns a remote adapter for the given local version.
|
RemoteVersionHistory |
getRemoteVersionHistory(VersionHistory versionHistory)
Returns a remote adapter for the given local version history.
|
RemoteIterator |
getRemoteVersionIterator(VersionIterator iterator)
Returns a remote adapter for the given local version iterator.
|
RemoteVersionManager |
getRemoteVersionManager(Session session,
VersionManager versionManager) |
RemoteWorkspace |
getRemoteWorkspace(Workspace workspace)
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–2021 The Apache Software Foundation. All rights reserved.