| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="it"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_80) on Thu Jun 14 10:03:58 CEST 2018 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>ProxyManagerImpl (OpenJPA Parent POM 2.4.3 API)</title> |
| <meta name="date" content="2018-06-14"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ProxyManagerImpl (OpenJPA Parent POM 2.4.3 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ProxyManagerImpl.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/openjpa/util/ProxyMap.html" title="interface in org.apache.openjpa.util"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/openjpa/util/ProxyManagerImpl.html" target="_top">Frames</a></li> |
| <li><a href="ProxyManagerImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.openjpa.util</div> |
| <h2 title="Class ProxyManagerImpl" class="title">Class ProxyManagerImpl</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.openjpa.util.ProxyManagerImpl</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">ProxyManagerImpl</span> |
| extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></pre> |
| <div class="block">Default implementation of the <a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util"><code>ProxyManager</code></a> interface.</div> |
| <dl><dt><span class="strong">Author:</span></dt> |
| <dd>Abe White</dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#ProxyManagerImpl()">ProxyManagerImpl</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#allowsDuplicates(java.lang.Class)">allowsDuplicates</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">Return whether the given collection type allows duplicates.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#copyArray(java.lang.Object)">copyArray</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> orig)</code> |
| <div class="block">Return a new array of the same component type as the given array |
| and containing the same elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#copyCalendar(java.util.Calendar)">copyCalendar</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> orig)</code> |
| <div class="block">Return a copy of the given calendar with the same information.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#copyCollection(java.util.Collection)">copyCollection</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> orig)</code> |
| <div class="block">Return a new collection of the same type as the given one |
| with a copy of all contained elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#copyCustom(java.lang.Object)">copyCustom</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> orig)</code> |
| <div class="block">Return a copy of the given object with the same information, or null if |
| this manager cannot copy the object.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#copyDate(java.util.Date)">copyDate</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> orig)</code> |
| <div class="block">Return a copy of the given date with the same information.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#copyMap(java.util.Map)">copyMap</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> orig)</code> |
| <div class="block">Return a new map of the same type as the given one |
| with a copy of all contained key/value pairs.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#findCopyConstructor(java.lang.Class)">findCopyConstructor</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> cls)</code> |
| <div class="block">Find an appropriate copy constructor for the given type, or return null |
| if none.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#findGetter(java.lang.Class,%20java.lang.reflect.Method)">findGetter</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> setter)</code> |
| <div class="block">Return the getter corresponding to the given setter, or null.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected serp.bytecode.BCClass</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#generateProxyBeanBytecode(java.lang.Class,%20boolean)">generateProxyBeanBytecode</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| boolean runtime)</code> |
| <div class="block">Generate the bytecode for a bean proxy for the given type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected serp.bytecode.BCClass</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#generateProxyCalendarBytecode(java.lang.Class,%20boolean)">generateProxyCalendarBytecode</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| boolean runtime)</code> |
| <div class="block">Generate the bytecode for a calendar proxy for the given type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected serp.bytecode.BCClass</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#generateProxyCollectionBytecode(java.lang.Class,%20boolean)">generateProxyCollectionBytecode</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| boolean runtime)</code> |
| <div class="block">Generate the bytecode for a collection proxy for the given type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected serp.bytecode.BCClass</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#generateProxyDateBytecode(java.lang.Class,%20boolean)">generateProxyDateBytecode</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| boolean runtime)</code> |
| <div class="block">Generate the bytecode for a date proxy for the given type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected serp.bytecode.BCClass</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#generateProxyMapBytecode(java.lang.Class,%20boolean)">generateProxyMapBytecode</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| boolean runtime)</code> |
| <div class="block">Generate the bytecode for a map proxy for the given type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#getAssertAllowedType()">getAssertAllowedType</a></strong>()</code> |
| <div class="block">Whether to perform runtime checks to ensure that all elements |
| added to collection and map proxies are the proper element/key/value |
| type as defined by the metadata.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#getDelayCollectionLoading()">getDelayCollectionLoading</a></strong>()</code> |
| <div class="block">Whether loading of collections should be delayed until an operation |
| is performed that requires them to be loaded.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#getTrackChanges()">getTrackChanges</a></strong>()</code> |
| <div class="block">Whether proxies produced by this factory will use <a href="../../../../org/apache/openjpa/util/ChangeTracker.html" title="interface in org.apache.openjpa.util"><code>ChangeTracker</code></a>s |
| to try to cut down on data store operations at the cost of some extra |
| bookkeeping overhead.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#getUnproxyable()">getUnproxyable</a></strong>()</code> |
| <div class="block">Return a mutable view of class names we know cannot be proxied |
| correctly by this manager.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#isOrdered(java.lang.Class)">isOrdered</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">Return whether the given collection type maintains an artificial |
| ordering.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#isSetter(java.lang.reflect.Method)">isSetter</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> meth)</code> |
| <div class="block">Return whether the given method is a setter.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#isUnproxyable(java.lang.Class)">isUnproxyable</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">Return whether the given type is known to be unproxyable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#loadBuildTimeProxy(java.lang.Class,%20java.lang.ClassLoader)">loadBuildTimeProxy</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> loader)</code> |
| <div class="block">Load the proxy class generated at build time for the given type, |
| returning null if none exists.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#loadDelayedProxy(java.lang.Class)">loadDelayedProxy</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#main(java.lang.String[])">main</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] args)</code> |
| <div class="block">Usage: java org.apache.openjpa.util.proxy.ProxyManagerImpl [option]* |
| <class name>+<br /> |
| Where the following options are recognized: |
| |
| <i>-utils/-u <number></i>: Generate proxies for the standard |
| java.util collection, map, date, and calendar classes of the given Java |
| version.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/openjpa/util/Proxy.html" title="interface in org.apache.openjpa.util">Proxy</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#newCalendarProxy(java.lang.Class,%20java.util.TimeZone)">newCalendarProxy</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> zone)</code> |
| <div class="block">Return a new calendar proxy.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/openjpa/util/Proxy.html" title="interface in org.apache.openjpa.util">Proxy</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#newCollectionProxy(java.lang.Class,%20java.lang.Class,%20java.util.Comparator,%20boolean)">newCollectionProxy</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> elementType, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a> compare, |
| boolean autoOff)</code> |
| <div class="block">Return a proxy for the given collection type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/openjpa/util/Proxy.html" title="interface in org.apache.openjpa.util">Proxy</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#newCustomProxy(java.lang.Object,%20boolean)">newCustomProxy</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> orig, |
| boolean autoOff)</code> |
| <div class="block">Return a proxy for the given object, or null if this manager cannot |
| proxy the object.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/openjpa/util/Proxy.html" title="interface in org.apache.openjpa.util">Proxy</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#newDateProxy(java.lang.Class)">newDateProxy</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">Return a new date proxy.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/openjpa/util/Proxy.html" title="interface in org.apache.openjpa.util">Proxy</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#newMapProxy(java.lang.Class,%20java.lang.Class,%20java.lang.Class,%20java.util.Comparator,%20boolean)">newMapProxy</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> keyType, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> elementType, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a> compare, |
| boolean autoOff)</code> |
| <div class="block">Return a proxy for the given map type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#setAssertAllowedType(boolean)">setAssertAllowedType</a></strong>(boolean assertType)</code> |
| <div class="block">Whether to perform runtime checks to ensure that all elements |
| added to collection and map proxies are the proper element/key/value |
| type as defined by the metadata.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#setDelayCollectionLoading(boolean)">setDelayCollectionLoading</a></strong>(boolean delay)</code> |
| <div class="block">Whether loading of collections should be delayed until an operation |
| is performed that requires them to be loaded.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#setTrackChanges(boolean)">setTrackChanges</a></strong>(boolean track)</code> |
| <div class="block">Whether proxies produced by this factory will use <a href="../../../../org/apache/openjpa/util/ChangeTracker.html" title="interface in org.apache.openjpa.util"><code>ChangeTracker</code></a>s |
| to try to cut down on data store operations at the cost of some extra |
| bookkeeping overhead.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#setUnproxyable(java.lang.String)">setUnproxyable</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clsNames)</code> |
| <div class="block">Provided for auto-configuration.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#toProxyableCollectionType(java.lang.Class)">toProxyableCollectionType</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">Return the concrete type for proxying.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/util/ProxyManagerImpl.html#toProxyableMapType(java.lang.Class)">toProxyableMapType</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">Return the concrete type for proxying.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="ProxyManagerImpl()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ProxyManagerImpl</h4> |
| <pre>public ProxyManagerImpl()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getTrackChanges()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTrackChanges</h4> |
| <pre>public boolean getTrackChanges()</pre> |
| <div class="block">Whether proxies produced by this factory will use <a href="../../../../org/apache/openjpa/util/ChangeTracker.html" title="interface in org.apache.openjpa.util"><code>ChangeTracker</code></a>s |
| to try to cut down on data store operations at the cost of some extra |
| bookkeeping overhead. Defaults to true.</div> |
| </li> |
| </ul> |
| <a name="setTrackChanges(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTrackChanges</h4> |
| <pre>public void setTrackChanges(boolean track)</pre> |
| <div class="block">Whether proxies produced by this factory will use <a href="../../../../org/apache/openjpa/util/ChangeTracker.html" title="interface in org.apache.openjpa.util"><code>ChangeTracker</code></a>s |
| to try to cut down on data store operations at the cost of some extra |
| bookkeeping overhead. Defaults to true.</div> |
| </li> |
| </ul> |
| <a name="getAssertAllowedType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAssertAllowedType</h4> |
| <pre>public boolean getAssertAllowedType()</pre> |
| <div class="block">Whether to perform runtime checks to ensure that all elements |
| added to collection and map proxies are the proper element/key/value |
| type as defined by the metadata. Defaults to false.</div> |
| </li> |
| </ul> |
| <a name="setAssertAllowedType(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAssertAllowedType</h4> |
| <pre>public void setAssertAllowedType(boolean assertType)</pre> |
| <div class="block">Whether to perform runtime checks to ensure that all elements |
| added to collection and map proxies are the proper element/key/value |
| type as defined by the metadata. Defaults to false.</div> |
| </li> |
| </ul> |
| <a name="getDelayCollectionLoading()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDelayCollectionLoading</h4> |
| <pre>public boolean getDelayCollectionLoading()</pre> |
| <div class="block">Whether loading of collections should be delayed until an operation |
| is performed that requires them to be loaded. This property only |
| applies to proxies that implement java.util.Collection (ie. not arrays |
| or maps). Defaults to false.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#getDelayCollectionLoading()">getDelayCollectionLoading</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setDelayCollectionLoading(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDelayCollectionLoading</h4> |
| <pre>public void setDelayCollectionLoading(boolean delay)</pre> |
| <div class="block">Whether loading of collections should be delayed until an operation |
| is performed that requires them to be loaded. Defaults to false.</div> |
| </li> |
| </ul> |
| <a name="getUnproxyable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUnproxyable</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> getUnproxyable()</pre> |
| <div class="block">Return a mutable view of class names we know cannot be proxied |
| correctly by this manager.</div> |
| </li> |
| </ul> |
| <a name="setUnproxyable(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUnproxyable</h4> |
| <pre>public void setUnproxyable(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clsNames)</pre> |
| <div class="block">Provided for auto-configuration. Add the given semicolon-separated |
| class names to the set of class names we know cannot be proxied correctly |
| by this manager.</div> |
| </li> |
| </ul> |
| <a name="copyArray(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyArray</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> copyArray(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> orig)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyArray(java.lang.Object)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a new array of the same component type as the given array |
| and containing the same elements. Works for both primitive and |
| object array types.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyArray(java.lang.Object)">copyArray</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyCollection(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyCollection</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> copyCollection(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> orig)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyCollection(java.util.Collection)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a new collection of the same type as the given one |
| with a copy of all contained elements.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyCollection(java.util.Collection)">copyCollection</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="newCollectionProxy(java.lang.Class, java.lang.Class, java.util.Comparator, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newCollectionProxy</h4> |
| <pre>public <a href="../../../../org/apache/openjpa/util/Proxy.html" title="interface in org.apache.openjpa.util">Proxy</a> newCollectionProxy(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> elementType, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a> compare, |
| boolean autoOff)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#newCollectionProxy(java.lang.Class,%20java.lang.Class,%20java.util.Comparator,%20boolean)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a proxy for the given collection type. The returned collection |
| will allow only addition of elements assignable from the given |
| element type and will use the given comparator, if it is not null.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#newCollectionProxy(java.lang.Class,%20java.lang.Class,%20java.util.Comparator,%20boolean)">newCollectionProxy</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyMap(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyMap</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> copyMap(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> orig)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyMap(java.util.Map)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a new map of the same type as the given one |
| with a copy of all contained key/value pairs.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyMap(java.util.Map)">copyMap</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="newMapProxy(java.lang.Class, java.lang.Class, java.lang.Class, java.util.Comparator, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newMapProxy</h4> |
| <pre>public <a href="../../../../org/apache/openjpa/util/Proxy.html" title="interface in org.apache.openjpa.util">Proxy</a> newMapProxy(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> keyType, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> elementType, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a> compare, |
| boolean autoOff)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#newMapProxy(java.lang.Class,%20java.lang.Class,%20java.lang.Class,%20java.util.Comparator,%20boolean)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a proxy for the given map type. The returned map will |
| allow only addition of keys/values assignable from the given |
| keyType/valueType, and will use the given comparator, if it is not null.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#newMapProxy(java.lang.Class,%20java.lang.Class,%20java.lang.Class,%20java.util.Comparator,%20boolean)">newMapProxy</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyDate(java.util.Date)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyDate</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> copyDate(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> orig)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyDate(java.util.Date)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a copy of the given date with the same information.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyDate(java.util.Date)">copyDate</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="newDateProxy(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newDateProxy</h4> |
| <pre>public <a href="../../../../org/apache/openjpa/util/Proxy.html" title="interface in org.apache.openjpa.util">Proxy</a> newDateProxy(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#newDateProxy(java.lang.Class)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a new date proxy.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#newDateProxy(java.lang.Class)">newDateProxy</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyCalendar(java.util.Calendar)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyCalendar</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> copyCalendar(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> orig)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyCalendar(java.util.Calendar)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a copy of the given calendar with the same information.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyCalendar(java.util.Calendar)">copyCalendar</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="newCalendarProxy(java.lang.Class, java.util.TimeZone)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newCalendarProxy</h4> |
| <pre>public <a href="../../../../org/apache/openjpa/util/Proxy.html" title="interface in org.apache.openjpa.util">Proxy</a> newCalendarProxy(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> zone)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#newCalendarProxy(java.lang.Class,%20java.util.TimeZone)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a new calendar proxy.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#newCalendarProxy(java.lang.Class,%20java.util.TimeZone)">newCalendarProxy</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyCustom(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyCustom</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> copyCustom(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> orig)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyCustom(java.lang.Object)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a copy of the given object with the same information, or null if |
| this manager cannot copy the object.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#copyCustom(java.lang.Object)">copyCustom</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="newCustomProxy(java.lang.Object, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newCustomProxy</h4> |
| <pre>public <a href="../../../../org/apache/openjpa/util/Proxy.html" title="interface in org.apache.openjpa.util">Proxy</a> newCustomProxy(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> orig, |
| boolean autoOff)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#newCustomProxy(java.lang.Object,%20boolean)">ProxyManager</a></code></strong></div> |
| <div class="block">Return a proxy for the given object, or null if this manager cannot |
| proxy the object.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/openjpa/util/ProxyManager.html#newCustomProxy(java.lang.Object,%20boolean)">newCustomProxy</a></code> in interface <code><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util">ProxyManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toProxyableCollectionType(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toProxyableCollectionType</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> toProxyableCollectionType(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">Return the concrete type for proxying.</div> |
| </li> |
| </ul> |
| <a name="toProxyableMapType(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toProxyableMapType</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> toProxyableMapType(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">Return the concrete type for proxying.</div> |
| </li> |
| </ul> |
| <a name="isUnproxyable(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isUnproxyable</h4> |
| <pre>protected boolean isUnproxyable(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">Return whether the given type is known to be unproxyable.</div> |
| </li> |
| </ul> |
| <a name="loadBuildTimeProxy(java.lang.Class, java.lang.ClassLoader)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadBuildTimeProxy</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> loadBuildTimeProxy(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> loader)</pre> |
| <div class="block">Load the proxy class generated at build time for the given type, |
| returning null if none exists.</div> |
| </li> |
| </ul> |
| <a name="loadDelayedProxy(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadDelayedProxy</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> loadDelayedProxy(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</pre> |
| </li> |
| </ul> |
| <a name="generateProxyCollectionBytecode(java.lang.Class, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateProxyCollectionBytecode</h4> |
| <pre>protected serp.bytecode.BCClass generateProxyCollectionBytecode(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| boolean runtime)</pre> |
| <div class="block">Generate the bytecode for a collection proxy for the given type.</div> |
| </li> |
| </ul> |
| <a name="generateProxyMapBytecode(java.lang.Class, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateProxyMapBytecode</h4> |
| <pre>protected serp.bytecode.BCClass generateProxyMapBytecode(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| boolean runtime)</pre> |
| <div class="block">Generate the bytecode for a map proxy for the given type.</div> |
| </li> |
| </ul> |
| <a name="generateProxyDateBytecode(java.lang.Class, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateProxyDateBytecode</h4> |
| <pre>protected serp.bytecode.BCClass generateProxyDateBytecode(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| boolean runtime)</pre> |
| <div class="block">Generate the bytecode for a date proxy for the given type.</div> |
| </li> |
| </ul> |
| <a name="generateProxyCalendarBytecode(java.lang.Class, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateProxyCalendarBytecode</h4> |
| <pre>protected serp.bytecode.BCClass generateProxyCalendarBytecode(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| boolean runtime)</pre> |
| <div class="block">Generate the bytecode for a calendar proxy for the given type.</div> |
| </li> |
| </ul> |
| <a name="generateProxyBeanBytecode(java.lang.Class, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateProxyBeanBytecode</h4> |
| <pre>protected serp.bytecode.BCClass generateProxyBeanBytecode(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| boolean runtime)</pre> |
| <div class="block">Generate the bytecode for a bean proxy for the given type.</div> |
| </li> |
| </ul> |
| <a name="allowsDuplicates(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>allowsDuplicates</h4> |
| <pre>protected boolean allowsDuplicates(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">Return whether the given collection type allows duplicates.</div> |
| </li> |
| </ul> |
| <a name="isOrdered(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isOrdered</h4> |
| <pre>protected boolean isOrdered(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">Return whether the given collection type maintains an artificial |
| ordering.</div> |
| </li> |
| </ul> |
| <a name="isSetter(java.lang.reflect.Method)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isSetter</h4> |
| <pre>protected boolean isSetter(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> meth)</pre> |
| <div class="block">Return whether the given method is a setter.</div> |
| </li> |
| </ul> |
| <a name="findGetter(java.lang.Class, java.lang.reflect.Method)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findGetter</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> findGetter(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> setter)</pre> |
| <div class="block">Return the getter corresponding to the given setter, or null.</div> |
| </li> |
| </ul> |
| <a name="findCopyConstructor(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findCopyConstructor</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a> findCopyConstructor(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> cls)</pre> |
| <div class="block">Find an appropriate copy constructor for the given type, or return null |
| if none.</div> |
| </li> |
| </ul> |
| <a name="main(java.lang.String[])"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>main</h4> |
| <pre>public static void main(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] args) |
| throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a>, |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Usage: java org.apache.openjpa.util.proxy.ProxyManagerImpl [option]* |
| <class name>+<br /> |
| Where the following options are recognized: |
| <ul> |
| <li><i>-utils/-u <number></i>: Generate proxies for the standard |
| java.util collection, map, date, and calendar classes of the given Java |
| version. Use 4 for Java 1.4, 5 for Java 5, etc.</li> |
| </ul> |
| |
| The main method generates .class files for the proxies to the classes |
| given on the command line. It writes the generated classes to beside the |
| ProxyManagerImpl.class file if possible; otherwise it writes to the |
| current directory. The proxy manager looks for these classes |
| before generating its own proxies at runtime.</div> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ProxyManagerImpl.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/openjpa/util/ProxyManager.html" title="interface in org.apache.openjpa.util"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/openjpa/util/ProxyMap.html" title="interface in org.apache.openjpa.util"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/openjpa/util/ProxyManagerImpl.html" target="_top">Frames</a></li> |
| <li><a href="ProxyManagerImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2006–2018 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |