|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.rmi.server.RemoteObject java.rmi.server.RemoteServer java.rmi.server.UnicastRemoteObject org.apache.jackrabbit.rmi.server.ServerObject org.apache.jackrabbit.rmi.server.ServerItemDefinition
Remote adapter for the JCR ItemDefinition
interface. This class makes a local item definition available as an
RMI service using the
RemoteItemDefinition
interface. Used mainly as the base class for the
ServerPropertyDefinition
and
ServerNodeDefinition
adapters.
ItemDefinition
,
RemoteItemDefinition
,
Serialized FormField Summary |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
ServerItemDefinition(ItemDefinition def,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local item definition. |
Method Summary | |
RemoteNodeType |
getDeclaringNodeType()
Remote version of the ItemDef.getDeclaringNodeType()
method. |
String |
getName()
Remote version of the ItemDef.getName() method. |
int |
getOnParentVersion()
Remote version of the ItemDef.getOnParentVersion()
method. |
boolean |
isAutoCreated()
Remote version of the ItemDef.isAutoCreate()
method. |
boolean |
isMandatory()
Remote version of the ItemDef.isMandatory()
method. |
boolean |
isProtected()
Remote version of the ItemDef.isProtected()
method. |
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ServerItemDefinition(ItemDefinition def, RemoteAdapterFactory factory) throws RemoteException
def
- local item definitionfactory
- remote adapter factory
RemoteException
- on RMI errorsMethod Detail |
public RemoteNodeType getDeclaringNodeType() throws RemoteException
ItemDef.getDeclaringNodeType()
method.
getDeclaringNodeType
in interface RemoteItemDefinition
RemoteException
- on RMI errorspublic String getName() throws RemoteException
ItemDef.getName()
method.
getName
in interface RemoteItemDefinition
RemoteException
- on RMI errorspublic boolean isAutoCreated() throws RemoteException
ItemDef.isAutoCreate()
method.
isAutoCreated
in interface RemoteItemDefinition
true
if the item is automatically created,
false
otherwise
RemoteException
- on RMI errorspublic boolean isMandatory() throws RemoteException
ItemDef.isMandatory()
method.
isMandatory
in interface RemoteItemDefinition
true
if the item is mandatory,
false
otherwise
RemoteException
- on RMI errorspublic int getOnParentVersion() throws RemoteException
ItemDef.getOnParentVersion()
method.
getOnParentVersion
in interface RemoteItemDefinition
RemoteException
- on RMI errorspublic boolean isProtected() throws RemoteException
ItemDef.isProtected()
method.
isProtected
in interface RemoteItemDefinition
true
if the item is protected,
false
otherwise
RemoteException
- on RMI errors
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |