| org.apache.lenya.transaction.IdentityMap
All known Subclasses: org.apache.lenya.transaction.IdentityMapImpl,
IdentityMap | public interface IdentityMap (Code) | | Identity map.
version: $Id: IdentityMap.java 473861 2006-11-12 03:51:14Z gregor $ |
get | Object get(IdentifiableFactory factory, String key)(Code) | | Retrieve an instance from the map. If no instance exists
for the given key, the factory is used to build one.
Parameters: factory - The factory that produces the identifable. Parameters: key - The key for the identifiable. An identifiable. |
getObjects | Object[] getObjects()(Code) | | All objects in this map. |
getUnitOfWork | UnitOfWork getUnitOfWork()(Code) | | Returns the unit of work. This maybe null if the identity map is not involved
in a transaction.
The unit of work. |
setUnitOfWork | void setUnitOfWork(UnitOfWork unit)(Code) | | Parameters: unit - The unit of work to use. |
|
|