org.apache.jackrabbit.rmi.client
Interface LocalAdapterFactory

Factory interface for creating local adapters for remote references.
This interface defines how remote JCR-RMI references are adapted
back to the normal JCR interfaces. The adaption mechanism can be
modified (for example to add extra features) by changing the
local adapter factory used by the repository client.

Note that the
ClientObject
base class provides a number of utility methods designed to work with
a local adapter factory. Adapter implementations may want to inherit
that functionality by subclassing from ClientObject.

getItem

Factory method for creating a local adapter for a remote item.
Note that before calling this method, the client may want to
introspect the remote item reference to determine whether to use the
getNode or
getProperty method
instead, as the adapter returned by this method will only cover
the basic Item interface.

getItemDef

Factory method for creating a local adapter for a remote item
definition. Note that before calling this method, the client may want to
introspect the remote item definition to determine whether to use the
getNodeDef or
getPropertyDef method
instead, as the adapter returned by this method will only cover
the ItemDef base interface.