org.apache.openjpa.util
Interface ProxyCollection
- All Superinterfaces:
- Proxy
- All Known Implementing Classes:
- ProxyArrayList, ProxyHashSet, ProxyLinkedList, ProxyTreeSet, ProxyVector
public interface ProxyCollection
- extends Proxy
Interface implemented by all built-in proxies on Collection
types.
- Author:
- Abe White
newInstance
ProxyCollection newInstance(Class elementType,
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.