|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Remote version of the JCR Lock
interface.
Used by the ServerLock
and ClientLock
adapter classes to provide transparent RMI access to remote locks.
The methods in this interface are documented only with a reference to a corresponding Lock method. The remote object will simply forward the method call to the underlying Lock instance. Return values and possible exceptions are copied over the network. RMI errors are signalled with RemoteExceptions.
Lock
,
ClientLock
,
ServerLock
Method Summary | |
String |
getLockOwner()
Remote version of the Lock.getLockOwner() method. |
String |
getLockToken()
Remote version of the Lock.getLockToken() method. |
boolean |
isDeep()
Remote version of the Lock.isDeep() method. |
boolean |
isLive()
Remote version of the Lock.isLive() method. |
boolean |
isSessionScoped()
Remote version of the Lock.isSessionScoped() () Lock.isSessionScoped()} method. |
void |
refresh()
Remote version of the Lock.refresh() method. |
Method Detail |
public String getLockOwner() throws RemoteException
Lock.getLockOwner()
method.
RemoteException
- on RMI errorspublic boolean isDeep() throws RemoteException
Lock.isDeep()
method.
true
if the lock is deep,
false
otherwise
RemoteException
- on RMI errorspublic String getLockToken() throws RemoteException
Lock.getLockToken()
method.
RemoteException
- on RMI errorspublic boolean isLive() throws RepositoryException, RemoteException
Lock.isLive()
method.
true
if the lock is live,
false
otherwise
RepositoryException
- on repository errors
RemoteException
- on RMI errorspublic void refresh() throws RepositoryException, RemoteException
Lock.refresh()
method.
RepositoryException
- on repository errors
RemoteException
- on RMI errorspublic boolean isSessionScoped() throws RemoteException
Lock.isSessionScoped()
() Lock.isSessionScoped()} method.
true
if the lock is live,
false
otherwise
RemoteException
- on RMI errors
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |