|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteAdapterFactory
Factory interface for creating remote adapters for local resources. This interface defines how the local JCR interfaces are adapted to remote JCR-RMI references.
| Method Summary | |
|---|---|
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. |
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. |
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.query.QueryManager manager,
javax.jcr.Session session)
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. |
RemoteWorkspace |
getRemoteWorkspace(javax.jcr.Workspace workspace)
Returns a remote adapter for the given local workspace. |
| Method Detail |
|---|
RemoteRepository getRemoteRepository(javax.jcr.Repository repository)
throws java.rmi.RemoteException
repository - local repository
java.rmi.RemoteException - on RMI errors
RemoteSession getRemoteSession(javax.jcr.Session session)
throws java.rmi.RemoteException
session - local session
java.rmi.RemoteException - on RMI errors
RemoteWorkspace getRemoteWorkspace(javax.jcr.Workspace workspace)
throws java.rmi.RemoteException
workspace - local workspace
java.rmi.RemoteException - on RMI errors
RemoteObservationManager getRemoteObservationManager(javax.jcr.observation.ObservationManager observationManager)
throws java.rmi.RemoteException
observationManager - local observation manager
java.rmi.RemoteException - on RMI errors
RemoteNamespaceRegistry getRemoteNamespaceRegistry(javax.jcr.NamespaceRegistry registry)
throws java.rmi.RemoteException
registry - local namespace registry
java.rmi.RemoteException - on RMI errors
RemoteNodeTypeManager getRemoteNodeTypeManager(javax.jcr.nodetype.NodeTypeManager manager)
throws java.rmi.RemoteException
manager - local node type manager
java.rmi.RemoteException - on RMI errors
RemoteItem getRemoteItem(javax.jcr.Item item)
throws java.rmi.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 item
java.rmi.RemoteException - on RMI errors
RemoteProperty getRemoteProperty(javax.jcr.Property property)
throws java.rmi.RemoteException
property - local property
java.rmi.RemoteException - on RMI errors
RemoteNode getRemoteNode(javax.jcr.Node node)
throws java.rmi.RemoteException
node - local node
java.rmi.RemoteException - on RMI errors
RemoteVersion getRemoteVersion(javax.jcr.version.Version version)
throws java.rmi.RemoteException
version - local version
java.rmi.RemoteException - on RMI errors
RemoteVersionHistory getRemoteVersionHistory(javax.jcr.version.VersionHistory versionHistory)
throws java.rmi.RemoteException
versionHistory - local version history
java.rmi.RemoteException - on RMI errors
RemoteNodeType getRemoteNodeType(javax.jcr.nodetype.NodeType type)
throws java.rmi.RemoteException
type - local node type
java.rmi.RemoteException - on RMI errors
RemoteItemDefinition getRemoteItemDefinition(javax.jcr.nodetype.ItemDefinition def)
throws java.rmi.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 definition
java.rmi.RemoteException - on RMI errors
RemoteNodeDefinition getRemoteNodeDefinition(javax.jcr.nodetype.NodeDefinition def)
throws java.rmi.RemoteException
def - local node definition
java.rmi.RemoteException - on RMI errors
RemotePropertyDefinition getRemotePropertyDefinition(javax.jcr.nodetype.PropertyDefinition def)
throws java.rmi.RemoteException
def - local property definition
java.rmi.RemoteException - on RMI errors
RemoteLock getRemoteLock(javax.jcr.lock.Lock lock)
throws java.rmi.RemoteException
lock - local lock
java.rmi.RemoteException - on RMI errors
RemoteQueryManager getRemoteQueryManager(javax.jcr.query.QueryManager manager,
javax.jcr.Session session)
throws java.rmi.RemoteException
manager - local query manager
java.rmi.RemoteException - on RMI errors
RemoteQuery getRemoteQuery(javax.jcr.query.Query query)
throws java.rmi.RemoteException
query - local query
java.rmi.RemoteException - on RMI errors
RemoteQueryResult getRemoteQueryResult(javax.jcr.query.QueryResult result)
throws java.rmi.RemoteException
result - local query result
java.rmi.RemoteException - on RMI errors
RemoteRow getRemoteRow(javax.jcr.query.Row row)
throws java.rmi.RemoteException
row - local query row
java.rmi.RemoteException - on RMI errors
RemoteEventCollection getRemoteEvent(long listenerId,
javax.jcr.observation.EventIterator events)
throws java.rmi.RemoteException
listenerId - The listener identifier to which the events are to be dispatched.events - the local events
java.rmi.RemoteException - on RMI errors
RemoteIterator getRemoteNodeIterator(javax.jcr.NodeIterator iterator)
throws java.rmi.RemoteException
iterator - local node iterator
java.rmi.RemoteException - on RMI errors
RemoteIterator getRemotePropertyIterator(javax.jcr.PropertyIterator iterator)
throws java.rmi.RemoteException
iterator - local property iterator
java.rmi.RemoteException - on RMI errors
RemoteIterator getRemoteVersionIterator(javax.jcr.version.VersionIterator iterator)
throws java.rmi.RemoteException
iterator - local version iterator
java.rmi.RemoteException - on RMI errors
RemoteIterator getRemoteNodeTypeIterator(javax.jcr.nodetype.NodeTypeIterator iterator)
throws java.rmi.RemoteException
iterator - local node type iterator
java.rmi.RemoteException - on RMI errors
RemoteIterator getRemoteRowIterator(javax.jcr.query.RowIterator iterator)
throws java.rmi.RemoteException
iterator - local row iterator
java.rmi.RemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||