org.apache.openjpa.util
Interface ProxyMap

All Superinterfaces:
Proxy
All Known Implementing Classes:
ProxyHashMap, ProxyHashtable, ProxyProperties, ProxyTreeMap

public interface ProxyMap
extends Proxy

Interface implemented by all built-in proxies on Map types.

Author:
Abe White

Method Summary
 ProxyMap newInstance(Class keyType, Class valueType, Comparator compare, boolean trackChanges, OpenJPAConfiguration conf)
          This method should return a new proxy of the same concrete type as the implementing class.
 
Methods inherited from interface org.apache.openjpa.util.Proxy
copy, getChangeTracker, getOwner, getOwnerField, setOwner
 

Method Detail

newInstance

ProxyMap newInstance(Class keyType,
                     Class valueType,
                     Comparator compare,
                     boolean trackChanges,
                     OpenJPAConfiguration conf)
This method should return a new proxy of the same concrete type as the implementing class. Used by the ProxyManager factories: one template instance of each type is created for the purpose of producing new instances via this method. Overcomes the performance penalties of reflection.



Copyright © 2006 Apache Software Foundation. All Rights Reserved.