|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityLockAdapterFactory
An EntityLockAdapterFactory
is a factory for creating
EntityLockAdapter
:s for lockable objects (mostly entities, but also
other EntityRepositiory
implementations).
Every file system has an implementation of this interface that it uses to
create EntityLockAdapter
:s for entities. That instance can also be
used to create standalone locks (not tied to any entity) by a client. All
created lock adapters will use the file system's
LockAcquiringStrategy
for locking.
Clients never use this interface directly. To create more locks for an
entity, use its createLock(Object)
method instead.
Method Summary | |
---|---|
EntityLockAdapter |
createEntityLockAdapter(Lockable locked)
Create and return an entity lock adapter for the lockable object. |
Methods inherited from interface org.entityfs.lock.LockAdapterFactory |
---|
createLockAdapter |
Method Detail |
---|
EntityLockAdapter createEntityLockAdapter(Lockable locked)
locked
- The locked object.
EntityLockAdapter
for the object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |