|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.rmi.client.ClientObject
public class ClientObject
Base class for client adapter objects. The only purpose of this class is to centralize the handling of the local adapter factory used by the client adapters to instantiate new adapters.
Constructor Summary | |
---|---|
protected |
ClientObject(LocalAdapterFactory factory)
Creates a basic client adapter that uses the given factory to create new adapters. |
Method Summary | |
---|---|
protected LocalAdapterFactory |
getFactory()
Returns the local adapter factory used to create new adapters. |
protected Item |
getItem(Session session,
RemoteItem remote)
Utility method to create a local adapter for a remote item. |
protected Node |
getNode(Session session,
RemoteNode remote)
Utility method to create a local adapter for a remote node. |
protected NodeType[] |
getNodeTypeArray(RemoteNodeType[] remotes)
Utility method for creating an array of local node type adapters for an array of remote node types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ClientObject(LocalAdapterFactory factory)
factory
- local adapter factoryMethod Detail |
---|
protected LocalAdapterFactory getFactory()
protected Item getItem(Session session, RemoteItem remote)
Property
,
a Node
, or an Item
adapter using
the local adapter factory.
If the remote item is a RemoteNode
, this method delegates
to getNode(Session, RemoteNode)
.
session
- current sessionremote
- remote item
protected Node getNode(Session session, RemoteNode remote)
Node
,
a VersionHistory
, or a
Version
adapter using
the local adapter factory.
session
- current sessionremote
- remote node
protected NodeType[] getNodeTypeArray(RemoteNodeType[] remotes)
A null
input is treated as an empty array.
remotes
- remote node types
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |