|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IdentityMap
Identity map.
Method Summary | |
---|---|
java.lang.Object |
get(IdentifiableFactory factory,
java.lang.String key)
Retrieve an instance from the map. |
java.lang.Object[] |
getObjects()
|
UnitOfWork |
getUnitOfWork()
Returns the unit of work. |
void |
setUnitOfWork(UnitOfWork unit)
|
Method Detail |
---|
java.lang.Object get(IdentifiableFactory factory, java.lang.String key)
factory
- The factory that produces the identifable.key
- The key for the identifiable.
UnitOfWork getUnitOfWork()
null
if the identity map is not involved
in a transaction.
void setUnitOfWork(UnitOfWork unit)
unit
- The unit of work to use.java.lang.Object[] getObjects()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |