| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_21) on Wed Aug 25 21:59:32 EDT 2010 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| BrokerImpl (OpenJPA Parent POM 2.0.1 API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2010-08-25"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="BrokerImpl (OpenJPA Parent POM 2.0.1 API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BrokerImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/openjpa/kernel/BrokerFactory.html" title="interface in org.apache.openjpa.kernel"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.TransactionalCache.html" title="class in org.apache.openjpa.kernel"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/openjpa/kernel/BrokerImpl.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="BrokerImpl.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.openjpa.kernel</FONT> |
| <BR> |
| Class BrokerImpl</H2> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.openjpa.kernel.BrokerImpl</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/javax/transaction/Synchronization.html?is-external=true" title="class or interface in javax.transaction">Synchronization</A>, <A HREF="../../../../org/apache/openjpa/event/CallbackModes.html" title="interface in org.apache.openjpa.event">CallbackModes</A>, <A HREF="../../../../org/apache/openjpa/kernel/AutoClear.html" title="interface in org.apache.openjpa.kernel">AutoClear</A>, <A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html" title="interface in org.apache.openjpa.kernel">AutoDetach</A>, <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A>, <A HREF="../../../../org/apache/openjpa/kernel/ConnectionRetainModes.html" title="interface in org.apache.openjpa.kernel">ConnectionRetainModes</A>, <A HREF="../../../../org/apache/openjpa/kernel/DetachState.html" title="interface in org.apache.openjpa.kernel">DetachState</A>, <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A>, <A HREF="../../../../org/apache/openjpa/kernel/LockLevels.html" title="interface in org.apache.openjpa.kernel">LockLevels</A>, <A HREF="../../../../org/apache/openjpa/kernel/RestoreState.html" title="interface in org.apache.openjpa.kernel">RestoreState</A>, <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A>, <A HREF="../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</A></DD> |
| </DL> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/openjpa/kernel/FinalizingBrokerImpl.html" title="class in org.apache.openjpa.kernel">FinalizingBrokerImpl</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>BrokerImpl</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A>, <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DL> |
| </PRE> |
| |
| <P> |
| Concrete <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel"><CODE>Broker</CODE></A>. The broker handles object-level behavior, |
| but leaves all interaction with the data store to a <A HREF="../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel"><CODE>StoreManager</CODE></A> |
| that must be supplied at initialization. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Author:</B></DT> |
| <DD>Abe White</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.openjpa.kernel.BrokerImpl">Serialized Form</A></DL> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| <A NAME="nested_class_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Nested Class Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) static class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.TransactionalCache.html" title="class in org.apache.openjpa.kernel">BrokerImpl.TransactionalCache</A></B></CODE> |
| |
| <BR> |
| Transactional cache that holds soft refs to clean instances.</TD> |
| </TR> |
| </TABLE> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#FLUSH_COMMIT">FLUSH_COMMIT</A></B></CODE> |
| |
| <BR> |
| Flush in preparation of commit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#FLUSH_INC">FLUSH_INC</A></B></CODE> |
| |
| <BR> |
| Incremental flush.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#FLUSH_LOGICAL">FLUSH_LOGICAL</A></B></CODE> |
| |
| <BR> |
| Run persistence-by-reachability and other flush-time operations without |
| accessing the database.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#FLUSH_ROLLBACK">FLUSH_ROLLBACK</A></B></CODE> |
| |
| <BR> |
| Flush to check consistency of cache, then immediately rollback changes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#STATUS_COMMIT_NEW">STATUS_COMMIT_NEW</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#STATUS_INIT">STATUS_INIT</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#STATUS_OID_ASSIGN">STATUS_OID_ASSIGN</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#STATUS_TRANSIENT">STATUS_TRANSIENT</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.openjpa.kernel.StoreContext"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface org.apache.openjpa.kernel.<A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#EXCLUDE_ALL">EXCLUDE_ALL</A>, <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#OID_ALLOW_NEW">OID_ALLOW_NEW</A>, <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#OID_COPY">OID_COPY</A>, <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#OID_NODELETED">OID_NODELETED</A>, <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#OID_NOVALIDATE">OID_NOVALIDATE</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.openjpa.kernel.ConnectionRetainModes"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface org.apache.openjpa.kernel.<A HREF="../../../../org/apache/openjpa/kernel/ConnectionRetainModes.html" title="interface in org.apache.openjpa.kernel">ConnectionRetainModes</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/openjpa/kernel/ConnectionRetainModes.html#CONN_RETAIN_ALWAYS">CONN_RETAIN_ALWAYS</A>, <A HREF="../../../../org/apache/openjpa/kernel/ConnectionRetainModes.html#CONN_RETAIN_DEMAND">CONN_RETAIN_DEMAND</A>, <A HREF="../../../../org/apache/openjpa/kernel/ConnectionRetainModes.html#CONN_RETAIN_TRANS">CONN_RETAIN_TRANS</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.openjpa.kernel.DetachState"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface org.apache.openjpa.kernel.<A HREF="../../../../org/apache/openjpa/kernel/DetachState.html" title="interface in org.apache.openjpa.kernel">DetachState</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/openjpa/kernel/DetachState.html#DETACH_ALL">DETACH_ALL</A>, <A HREF="../../../../org/apache/openjpa/kernel/DetachState.html#DETACH_FETCH_GROUPS">DETACH_FETCH_GROUPS</A>, <A HREF="../../../../org/apache/openjpa/kernel/DetachState.html#DETACH_FGS">DETACH_FGS</A>, <A HREF="../../../../org/apache/openjpa/kernel/DetachState.html#DETACH_LOADED">DETACH_LOADED</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.openjpa.kernel.LockLevels"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface org.apache.openjpa.kernel.<A HREF="../../../../org/apache/openjpa/kernel/LockLevels.html" title="interface in org.apache.openjpa.kernel">LockLevels</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/openjpa/kernel/LockLevels.html#LOCK_NONE">LOCK_NONE</A>, <A HREF="../../../../org/apache/openjpa/kernel/LockLevels.html#LOCK_READ">LOCK_READ</A>, <A HREF="../../../../org/apache/openjpa/kernel/LockLevels.html#LOCK_WRITE">LOCK_WRITE</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.openjpa.kernel.RestoreState"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface org.apache.openjpa.kernel.<A HREF="../../../../org/apache/openjpa/kernel/RestoreState.html" title="interface in org.apache.openjpa.kernel">RestoreState</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/openjpa/kernel/RestoreState.html#RESTORE_ALL">RESTORE_ALL</A>, <A HREF="../../../../org/apache/openjpa/kernel/RestoreState.html#RESTORE_IMMUTABLE">RESTORE_IMMUTABLE</A>, <A HREF="../../../../org/apache/openjpa/kernel/RestoreState.html#RESTORE_NONE">RESTORE_NONE</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.openjpa.kernel.AutoClear"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface org.apache.openjpa.kernel.<A HREF="../../../../org/apache/openjpa/kernel/AutoClear.html" title="interface in org.apache.openjpa.kernel">AutoClear</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/openjpa/kernel/AutoClear.html#CLEAR_ALL">CLEAR_ALL</A>, <A HREF="../../../../org/apache/openjpa/kernel/AutoClear.html#CLEAR_DATASTORE">CLEAR_DATASTORE</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.openjpa.kernel.AutoDetach"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface org.apache.openjpa.kernel.<A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html" title="interface in org.apache.openjpa.kernel">AutoDetach</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html#DETACH_CLOSE">DETACH_CLOSE</A>, <A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html#DETACH_COMMIT">DETACH_COMMIT</A>, <A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html#DETACH_NONTXREAD">DETACH_NONTXREAD</A>, <A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html#DETACH_ROLLBACK">DETACH_ROLLBACK</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.openjpa.event.CallbackModes"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface org.apache.openjpa.event.<A HREF="../../../../org/apache/openjpa/event/CallbackModes.html" title="interface in org.apache.openjpa.event">CallbackModes</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/openjpa/event/CallbackModes.html#CALLBACK_FAIL_FAST">CALLBACK_FAIL_FAST</A>, <A HREF="../../../../org/apache/openjpa/event/CallbackModes.html#CALLBACK_IGNORE">CALLBACK_IGNORE</A>, <A HREF="../../../../org/apache/openjpa/event/CallbackModes.html#CALLBACK_LOG">CALLBACK_LOG</A>, <A HREF="../../../../org/apache/openjpa/event/CallbackModes.html#CALLBACK_RETHROW">CALLBACK_RETHROW</A>, <A HREF="../../../../org/apache/openjpa/event/CallbackModes.html#CALLBACK_ROLLBACK">CALLBACK_ROLLBACK</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#BrokerImpl()">BrokerImpl</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#addDereferencedDependent(org.apache.openjpa.kernel.StateManagerImpl)">addDereferencedDependent</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</CODE> |
| |
| <BR> |
| Add a dereferenced dependent object to the persistence manager's cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#addLifecycleListener(java.lang.Object, java.lang.Class[])">addLifecycleListener</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>[] classes)</CODE> |
| |
| <BR> |
| Register a listener for lifecycle-related events on the specified |
| classes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#addToPendingTransaction(org.apache.openjpa.kernel.StateManagerImpl)">addToPendingTransaction</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</CODE> |
| |
| <BR> |
| Notify the broker that the given state manager should |
| be added to the set of instances that will become transactional |
| on the next transaction</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#addToTransaction(org.apache.openjpa.kernel.StateManagerImpl)">addToTransaction</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</CODE> |
| |
| <BR> |
| Notify the broker that the given state manager should |
| be added to the set of instances involved in the current transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#addTransactionListener(java.lang.Object)">addTransactionListener</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> tl)</CODE> |
| |
| <BR> |
| Register a listener for transaction-related events.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#afterCompletion(int)">afterCompletion</A></B>(int status)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#assertActiveTransaction()">assertActiveTransaction</A></B>()</CODE> |
| |
| <BR> |
| Throw an exception if there is no active transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#assertNontransactionalRead()">assertNontransactionalRead</A></B>()</CODE> |
| |
| <BR> |
| Throw an exception if there is no transaction active and |
| nontransactional reading is not enabled.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#assertOpen()">assertOpen</A></B>()</CODE> |
| |
| <BR> |
| Throw an exception if the context is closed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/openjpa/enhance/PersistenceCapable.html" title="interface in org.apache.openjpa.enhance">PersistenceCapable</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#assertPersistenceCapable(java.lang.Object)">assertPersistenceCapable</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return the given instance as a <A HREF="../../../../org/apache/openjpa/enhance/PersistenceCapable.html" title="interface in org.apache.openjpa.enhance"><CODE>PersistenceCapable</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#assertWriteOperation()">assertWriteOperation</A></B>()</CODE> |
| |
| <BR> |
| Throw an exception if a write operation is not permitted (there is |
| no active transaction and nontransactional writing is not enabled).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#assignObjectId(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.StateManagerImpl)">assignObjectId</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> cache, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</CODE> |
| |
| <BR> |
| Assign the object id to the cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#attach(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">attach</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| boolean copyNew, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Import the specified detached object into the broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#attachAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">attachAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| boolean copyNew, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Import the specified objects into the broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#beforeCompletion()">beforeCompletion</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#begin()">begin</A></B>()</CODE> |
| |
| <BR> |
| Begin a transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#beginOperation(boolean)">beginOperation</A></B>(boolean syncTrans)</CODE> |
| |
| <BR> |
| Begin a logical operation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#beginStore()">beginStore</A></B>()</CODE> |
| |
| <BR> |
| Begin a data store transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#cancelAll()">cancelAll</A></B>()</CODE> |
| |
| <BR> |
| Cancel all pending data store statements.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#checkForDuplicateId(java.lang.Object, java.lang.Object)">checkForDuplicateId</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| This method makes sure we don't already have the instance cached</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#clone()">clone</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#close()">close</A></B>()</CODE> |
| |
| <BR> |
| Close the broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#commit()">commit</A></B>()</CODE> |
| |
| <BR> |
| Commit the current transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#commitAndResume()">commitAndResume</A></B>()</CODE> |
| |
| <BR> |
| Issue a commit and then start a new transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#copy(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState)">copy</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> copy, |
| <A HREF="../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</A> state)</CODE> |
| |
| <BR> |
| If not already cached, create an empty copy of the given state |
| manager in the given state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#delete(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">delete</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Delete the given object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#delete(java.lang.Object, org.apache.openjpa.kernel.StateManagerImpl, org.apache.openjpa.kernel.OpCallbacks)">delete</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Internal delete.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#deleteAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">deleteAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Delete the given objects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#detach(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">detach</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Detach the specified object from the broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#detachAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">detachAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Detach the specified objects from the broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#detachAll(org.apache.openjpa.kernel.OpCallbacks)">detachAll</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Detach all objects in place.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#detachAll(org.apache.openjpa.kernel.OpCallbacks, boolean)">detachAll</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call, |
| boolean flush)</CODE> |
| |
| <BR> |
| Detach all objects in place, with the option of performing a |
| flush before doing the detachment.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#dirtyType(java.lang.Class)">dirtyType</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls)</CODE> |
| |
| <BR> |
| Mark the given class as dirty within the current transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#embed(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.meta.ValueMetaData)">embed</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> owner, |
| <A HREF="../../../../org/apache/openjpa/meta/ValueMetaData.html" title="interface in org.apache.openjpa.meta">ValueMetaData</A> ownerMeta)</CODE> |
| |
| <BR> |
| Make the given instance embedded.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#endOperation()">endOperation</A></B>()</CODE> |
| |
| <BR> |
| Mark the operation over.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#endTransaction(int)">endTransaction</A></B>(int status)</CODE> |
| |
| <BR> |
| End the current transaction, making appropriate state transitions.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#evict(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">evict</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Evict the given object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#evictAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">evictAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Evict the given objects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#evictAll(org.apache.openjpa.kernel.Extent, org.apache.openjpa.kernel.OpCallbacks)">evictAll</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/Extent.html" title="interface in org.apache.openjpa.kernel">Extent</A> extent, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Evict all persistent-clean and persistent-nontransactional |
| instances in the given <A HREF="../../../../org/apache/openjpa/kernel/Extent.html" title="interface in org.apache.openjpa.kernel"><CODE>Extent</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#evictAll(org.apache.openjpa.kernel.OpCallbacks)">evictAll</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Evict all clean objects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#extentIterator(java.lang.Class, boolean, org.apache.openjpa.kernel.FetchConfiguration, boolean)">extentIterator</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> type, |
| boolean subclasses, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| boolean ignoreChanges)</CODE> |
| |
| <BR> |
| Return an iterator over all instances of the given type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#find(java.lang.Object, boolean, org.apache.openjpa.kernel.FindCallbacks)">find</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| boolean validate, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</CODE> |
| |
| <BR> |
| Find the persistence object with the given oid.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#find(java.lang.Object, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)">find</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags)</CODE> |
| |
| <BR> |
| Return the object with the given oid.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#find(java.lang.Object, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int, org.apache.openjpa.kernel.FindCallbacks)">find</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</CODE> |
| |
| <BR> |
| Internal finder.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#findAll(java.util.Collection, boolean, org.apache.openjpa.kernel.FindCallbacks)">findAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> oids, |
| boolean validate, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</CODE> |
| |
| <BR> |
| Return the objects with the given oids.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#findAll(java.util.Collection, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)">findAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> oids, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags)</CODE> |
| |
| <BR> |
| Return the objects with the given oids.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#findAll(java.util.Collection, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int, org.apache.openjpa.kernel.FindCallbacks)">findAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> oids, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</CODE> |
| |
| <BR> |
| Internal finder.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#findCached(java.lang.Object, org.apache.openjpa.kernel.FindCallbacks)">findCached</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</CODE> |
| |
| <BR> |
| Return the instance for the given oid/object , or null if not |
| found in the L1 cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#fireLifecycleEvent(java.lang.Object, java.lang.Object, org.apache.openjpa.meta.ClassMetaData, int)">fireLifecycleEvent</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> related, |
| <A HREF="../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</A> meta, |
| int eventType)</CODE> |
| |
| <BR> |
| Fire given lifecycle event, handling any exceptions appropriately.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#flush()">flush</A></B>()</CODE> |
| |
| <BR> |
| Flush all transactional instances to the data store.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#flush(int)">flush</A></B>(int reason)</CODE> |
| |
| <BR> |
| Flush the transactional state to the data store.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#free()">free</A></B>()</CODE> |
| |
| <BR> |
| Free the resources used by this persistence manager.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#gatherCascadeRefresh(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">gatherCascadeRefresh</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Gathers all objects reachable through cascade-refresh relations |
| into the operating set.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getAutoClear()">getAutoClear</A></B>()</CODE> |
| |
| <BR> |
| Whether objects clear when entering transactions.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getAutoDetach()">getAutoDetach</A></B>()</CODE> |
| |
| <BR> |
| Bit flags marked in <A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html" title="interface in org.apache.openjpa.kernel"><CODE>AutoDetach</CODE></A> which indicate when persistent |
| managed objects should be automatically detached in-place.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getBroker()">getBroker</A></B>()</CODE> |
| |
| <BR> |
| Return the broker for this context, if possible.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/BrokerFactory.html" title="interface in org.apache.openjpa.kernel">BrokerFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getBrokerFactory()">getBrokerFactory</A></B>()</CODE> |
| |
| <BR> |
| Return the factory that produced this broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getCacheFinderQuery()">getCacheFinderQuery</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getCachePreparedQuery()">getCachePreparedQuery</A></B>()</CODE> |
| |
| <BR> |
| Affirms if this receiver is caching prepared queries.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getClassLoader()">getClassLoader</A></B>()</CODE> |
| |
| <BR> |
| Return the current thread's class loader at the time this context |
| was obtained.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getConfiguration()">getConfiguration</A></B>()</CODE> |
| |
| <BR> |
| Return the configuration associated with this context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getConnection()">getConnection</A></B>()</CODE> |
| |
| <BR> |
| Return the connection in use by the context, or a new connection if none.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getConnectionFactory()">getConnectionFactory</A></B>()</CODE> |
| |
| <BR> |
| Return the 'JTA' ConnectionFactory, looking it up from JNDI if needed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getConnectionFactory2()">getConnectionFactory2</A></B>()</CODE> |
| |
| <BR> |
| Return the 'NonJTA' ConnectionFactory, looking it up from JNDI if needed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getConnectionFactory2Name()">getConnectionFactory2Name</A></B>()</CODE> |
| |
| <BR> |
| Return the 'NonJTA' ConnectionFactoryName.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getConnectionFactoryName()">getConnectionFactoryName</A></B>()</CODE> |
| |
| <BR> |
| Return the 'JTA' connectionFactoryName</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getConnectionPassword()">getConnectionPassword</A></B>()</CODE> |
| |
| <BR> |
| Return the connection password.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getConnectionRetainMode()">getConnectionRetainMode</A></B>()</CODE> |
| |
| <BR> |
| Return the connection retain mode for this broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getConnectionUserName()">getConnectionUserName</A></B>()</CODE> |
| |
| <BR> |
| Return the connection user name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getDeletedTypes()">getDeletedTypes</A></B>()</CODE> |
| |
| <BR> |
| Return the set of classes that have been deleted in the current |
| transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getDetachState()">getDetachState</A></B>()</CODE> |
| |
| <BR> |
| Detach mode constant to determine which fields are part of the |
| detached graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getDirtyObjects()">getDirtyObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a list of current dirty instances.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getDirtyStates()">getDirtyStates</A></B>()</CODE> |
| |
| <BR> |
| Return a copy of all dirty state managers.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getEvictFromDataCache()">getEvictFromDataCache</A></B>()</CODE> |
| |
| <BR> |
| Whether to also evict an object from the store cache when it is |
| evicted through this broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getFetchConfiguration()">getFetchConfiguration</A></B>()</CODE> |
| |
| <BR> |
| Return the (mutable) fetch configuration for loading objects from this |
| context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel">Seq</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getIdentitySequence(org.apache.openjpa.meta.ClassMetaData)">getIdentitySequence</A></B>(<A HREF="../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</A> meta)</CODE> |
| |
| <BR> |
| Returns a <A HREF="../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel"><CODE>Seq</CODE></A> for the datastore identity values of the |
| specified persistent class, or null if the class' identity cannot be |
| represented as a sequence.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getIgnoreChanges()">getIgnoreChanges</A></B>()</CODE> |
| |
| <BR> |
| Whether to take into account changes in the transaction when executing |
| a query or iterating an extent.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) <A HREF="../../../../org/apache/openjpa/util/RuntimeExceptionTranslator.html" title="interface in org.apache.openjpa.util">RuntimeExceptionTranslator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getInstanceExceptionTranslator()">getInstanceExceptionTranslator</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/InverseManager.html" title="class in org.apache.openjpa.kernel">InverseManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getInverseManager()">getInverseManager</A></B>()</CODE> |
| |
| <BR> |
| Return the inverse manager in use.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/event/LifecycleEventManager.html" title="class in org.apache.openjpa.event">LifecycleEventManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getLifecycleEventManager()">getLifecycleEventManager</A></B>()</CODE> |
| |
| <BR> |
| Give state managers access to the lifecycle event manager.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getLifecycleListenerCallbackMode()">getLifecycleListenerCallbackMode</A></B>()</CODE> |
| |
| <BR> |
| The callback mode for handling exceptions from lifecycle event listeners.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getLockLevel(java.lang.Object)">getLockLevel</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
| |
| <BR> |
| Return the lock level of the specified object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/LockManager.html" title="interface in org.apache.openjpa.kernel">LockManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getLockManager()">getLockManager</A></B>()</CODE> |
| |
| <BR> |
| Return the lock manager in use.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getManagedObjects()">getManagedObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a list of all managed instances.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/ee/ManagedRuntime.html" title="interface in org.apache.openjpa.ee">ManagedRuntime</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getManagedRuntime()">getManagedRuntime</A></B>()</CODE> |
| |
| <BR> |
| Return the managed runtime in use.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getManagedStates()">getManagedStates</A></B>()</CODE> |
| |
| <BR> |
| Return a copy of all managed state managers.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getMultithreaded()">getMultithreaded</A></B>()</CODE> |
| |
| <BR> |
| Whether the broker or its managed instances are used in a multithreaded |
| environment.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getNontransactionalRead()">getNontransactionalRead</A></B>()</CODE> |
| |
| <BR> |
| Whether to allow nontransactional access to persistent state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getNontransactionalWrite()">getNontransactionalWrite</A></B>()</CODE> |
| |
| <BR> |
| Whether to allow nontransactional changes to persistent state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getObjectId(java.lang.Object)">getObjectId</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return the oid of the given instance.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getObjectIdType(java.lang.Class)">getObjectIdType</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls)</CODE> |
| |
| <BR> |
| Return the application or datastore identity class the given persistent |
| class uses for object ids.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getOperatingSet()">getOperatingSet</A></B>()</CODE> |
| |
| <BR> |
| Gets the unmodifiable set of instances being operated.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getOptimistic()">getOptimistic</A></B>()</CODE> |
| |
| <BR> |
| Whether to use optimistic transactional semantics.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getOrderDirtyObjects()">getOrderDirtyObjects</A></B>()</CODE> |
| |
| <BR> |
| Whether to maintain the order in which objects are dirtied for |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()"><CODE>StoreContext.getDirtyObjects()</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getPendingTransactionalObjects()">getPendingTransactionalObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a list of instances which will become transactional upon |
| the next transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getPendingTransactionalStates()">getPendingTransactionalStates</A></B>()</CODE> |
| |
| <BR> |
| Return a copy of all state managers which will become |
| transactional upon the next transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getPersistedTypes()">getPersistedTypes</A></B>()</CODE> |
| |
| <BR> |
| Return the set of classes that have been made persistent in the current |
| transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getPopulateDataCache()">getPopulateDataCache</A></B>()</CODE> |
| |
| <BR> |
| Whether objects accessed during this transaction will be added to the |
| store cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getProperties()">getProperties</A></B>()</CODE> |
| |
| <BR> |
| Get current configuration property values used by this instance.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getRestoreState()">getRestoreState</A></B>()</CODE> |
| |
| <BR> |
| Whether to restore an object's original state on rollback.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getRetainState()">getRetainState</A></B>()</CODE> |
| |
| <BR> |
| Whether objects retain their persistent state on transaction commit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getRollbackCause()">getRollbackCause</A></B>()</CODE> |
| |
| <BR> |
| Returns the Throwable that caused the transaction to be |
| marked for rollback.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getRollbackOnly()">getRollbackOnly</A></B>()</CODE> |
| |
| <BR> |
| Return whether the current transaction has been marked for rollback.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getStateManager(java.lang.Object)">getStateManager</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return the state manager for the given instance.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getStateManagerImpl(java.lang.Object, boolean)">getStateManagerImpl</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| boolean assertThisContext)</CODE> |
| |
| <BR> |
| Return the state manager for the given instance, or null.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getStateManagerImplById(java.lang.Object, boolean)">getStateManagerImplById</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| boolean allowNew)</CODE> |
| |
| <BR> |
| Return the state manager for the given oid.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/DelegatingStoreManager.html" title="class in org.apache.openjpa.kernel">DelegatingStoreManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getStoreManager()">getStoreManager</A></B>()</CODE> |
| |
| <BR> |
| Return the store manager in use.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getSupportedProperties()">getSupportedProperties</A></B>()</CODE> |
| |
| <BR> |
| Gets the property names that can be used to corresponding setter methods of this receiver |
| to set its value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getSuppressBatchOLELogging()">getSuppressBatchOLELogging</A></B>()</CODE> |
| |
| <BR> |
| Return whether this Broker will generate verbose optimistic lock exceptions when batching |
| operations.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/javax/transaction/Synchronization.html?is-external=true" title="class or interface in javax.transaction">Synchronization</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getSynchronization()">getSynchronization</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getSyncWithManagedTransactions()">getSyncWithManagedTransactions</A></B>()</CODE> |
| |
| <BR> |
| Whether to check for a global transaction upon every managed, |
| non-transactional operation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getTransactionalObjects()">getTransactionalObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a list of current transaction instances.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getTransactionalStates()">getTransactionalStates</A></B>()</CODE> |
| |
| <BR> |
| Return a copy of all transactional state managers.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getTransactionListenerCallbackMode()">getTransactionListenerCallbackMode</A></B>()</CODE> |
| |
| <BR> |
| The callback mode for handling exceptions from transaction event |
| listeners.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getTransactionListeners()">getTransactionListeners</A></B>()</CODE> |
| |
| <BR> |
| Gets an umodifiable collection of currently registered lsteners.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getUpdatedTypes()">getUpdatedTypes</A></B>()</CODE> |
| |
| <BR> |
| Return the set of classes for objects that have been modified |
| in the current transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getUserObject(java.lang.Object)">getUserObject</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key)</CODE> |
| |
| <BR> |
| Get the value for the specified key from the map of user objects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel">Seq</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getValueSequence(org.apache.openjpa.meta.FieldMetaData)">getValueSequence</A></B>(<A HREF="../../../../org/apache/openjpa/meta/FieldMetaData.html" title="class in org.apache.openjpa.meta">FieldMetaData</A> fmd)</CODE> |
| |
| <BR> |
| Returns a <A HREF="../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel"><CODE>Seq</CODE></A> for the generated values of the specified |
| field, or null if the field is not generated.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#getVersion(java.lang.Object)">getVersion</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Returns the current version indicator for <code>o</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#hasConnection()">hasConnection</A></B>()</CODE> |
| |
| <BR> |
| Whether the broker has a dedicated connection based on the configured |
| connection retain mode and transaction status.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#initialize(org.apache.openjpa.kernel.AbstractBrokerFactory, org.apache.openjpa.kernel.DelegatingStoreManager, boolean, int, boolean)">initialize</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/AbstractBrokerFactory.html" title="class in org.apache.openjpa.kernel">AbstractBrokerFactory</A> factory, |
| <A HREF="../../../../org/apache/openjpa/kernel/DelegatingStoreManager.html" title="class in org.apache.openjpa.kernel">DelegatingStoreManager</A> sm, |
| boolean managed, |
| int connMode, |
| boolean fromDeserialization)</CODE> |
| |
| <BR> |
| Initialize the persistence manager.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#initialize(org.apache.openjpa.kernel.AbstractBrokerFactory, org.apache.openjpa.kernel.DelegatingStoreManager, boolean, int, boolean, boolean)">initialize</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/AbstractBrokerFactory.html" title="class in org.apache.openjpa.kernel">AbstractBrokerFactory</A> factory, |
| <A HREF="../../../../org/apache/openjpa/kernel/DelegatingStoreManager.html" title="class in org.apache.openjpa.kernel">DelegatingStoreManager</A> sm, |
| boolean managed, |
| int connMode, |
| boolean fromDeserialization, |
| boolean fromWriteBehindCallback)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#initialize(org.apache.openjpa.kernel.StateManagerImpl, boolean, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object)">initialize</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm, |
| boolean load, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata)</CODE> |
| |
| <BR> |
| Initialize a newly-constructed state manager.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isActive()">isActive</A></B>()</CODE> |
| |
| <BR> |
| Whether a logical transaction is active.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isCached(java.util.List)">isCached</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> oids)</CODE> |
| |
| <BR> |
| Indicate whether the oid can be found in the StoreContext's L1 cache or in the StoreManager cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isClosed()">isClosed</A></B>()</CODE> |
| |
| <BR> |
| Whether the broker is closed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isCloseInvoked()">isCloseInvoked</A></B>()</CODE> |
| |
| <BR> |
| Whether <A HREF="../../../../org/apache/openjpa/kernel/Broker.html#close()"><CODE>Broker.close()</CODE></A> has been invoked, though the broker might |
| remain open until the current managed transaction completes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isDeleted(java.lang.Object)">isDeleted</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return whether the given object is deleted.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isDetached(java.lang.Object)">isDetached</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Returns <code>true</code> if <code>obj</code> is a detached object |
| (one that can be reattached to a <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel"><CODE>Broker</CODE></A> via a call to |
| <A HREF="../../../../org/apache/openjpa/kernel/Broker.html#attach(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><CODE>Broker.attach(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)</CODE></A>); otherwise returns <code>false</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isDetachedNew()">isDetachedNew</A></B>()</CODE> |
| |
| <BR> |
| Whether to treat relations to detached instances during persist |
| operations as new or as pseudo-hollow instances.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isDirty(java.lang.Object)">isDirty</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return whether the given object is dirty.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isFromWriteBehindCallback()">isFromWriteBehindCallback</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isManaged()">isManaged</A></B>()</CODE> |
| |
| <BR> |
| Whether this context is using managed transactions.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isNew(java.lang.Object)">isNew</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return whether the given object is a newly-created instance registered |
| with <code>broker</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isPersistent(java.lang.Object)">isPersistent</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return whether the given object is persistent.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isSerializing()">isSerializing</A></B>()</CODE> |
| |
| <BR> |
| Whether or not this broker is in the midst of being serialized.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isStoreActive()">isStoreActive</A></B>()</CODE> |
| |
| <BR> |
| Whether a data store transaction is active.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isTrackChangesByType()">isTrackChangesByType</A></B>()</CODE> |
| |
| <BR> |
| Whether memory usage is reduced during this transaction at the expense |
| of tracking changes at the type level instead of the instance level, |
| resulting in more aggressive cache invalidation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isTransactional(java.lang.Object)">isTransactional</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return whether the given object is transactional.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#isTransactionEnding()">isTransactionEnding</A></B>()</CODE> |
| |
| <BR> |
| Return whether the current transaction is ending, i.e.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#lock()">lock</A></B>()</CODE> |
| |
| <BR> |
| Synchronizes on an internal lock if the |
| <code>Multithreaded</code> flag is set to true.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#lock(java.lang.Object, int, int, org.apache.openjpa.kernel.OpCallbacks)">lock</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| int level, |
| int timeout, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Ensure that the given instance is locked at the given lock level.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#lock(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">lock</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Ensure that the given instance is locked at the current lock level, as |
| set in the <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel"><CODE>FetchConfiguration</CODE></A> for the broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#lockAll(java.util.Collection, int, int, org.apache.openjpa.kernel.OpCallbacks)">lockAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| int level, |
| int timeout, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Ensure that the given instances are locked at the given lock level.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#lockAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">lockAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Ensure that the given instances are locked at the current lock level, as |
| set in the <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel"><CODE>FetchConfiguration</CODE></A> for the broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/Extent.html" title="interface in org.apache.openjpa.kernel">Extent</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#newExtent(java.lang.Class, boolean)">newExtent</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> type, |
| boolean subclasses)</CODE> |
| |
| <BR> |
| Return an extent of the given class, optionally including subclasses.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#newInstance(java.lang.Class)">newInstance</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls)</CODE> |
| |
| <BR> |
| Create a new instance of type <code>cls</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><?,?></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#newManagedObjectCache()">newManagedObjectCache</A></B>()</CODE> |
| |
| <BR> |
| Create a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> to be used for the primary managed object cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#newObjectId(java.lang.Class, java.lang.Object)">newObjectId</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> val)</CODE> |
| |
| <BR> |
| Create a new object id instance from the given value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#newQuery(java.lang.String, java.lang.Class, java.lang.Object)">newQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> lang, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> query)</CODE> |
| |
| <BR> |
| Create a new query from the given data, with the given candidate class |
| and language.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#newQuery(java.lang.String, java.lang.Object)">newQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> lang, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> query)</CODE> |
| |
| <BR> |
| Create a new query in the given language.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/openjpa/kernel/QueryImpl.html" title="class in org.apache.openjpa.kernel">QueryImpl</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#newQueryImpl(java.lang.String, org.apache.openjpa.kernel.StoreQuery)">newQueryImpl</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> lang, |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreQuery.html" title="interface in org.apache.openjpa.kernel">StoreQuery</A> sq)</CODE> |
| |
| <BR> |
| Create a new query.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#newStateManagerImpl(java.lang.Object, org.apache.openjpa.meta.ClassMetaData)">newStateManagerImpl</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</A> meta)</CODE> |
| |
| <BR> |
| Create a state manager for the given oid and metadata.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#nontransactional(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">nontransactional</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Make the given object non-transactional.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#nontransactionalAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">nontransactionalAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Make the given objects nontransactional.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#persist(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">persist</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| boolean explicit, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Persist the given object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#persist(java.lang.Object, java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">persist</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| boolean explicit, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Persist the given object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#persist(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">persist</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Make the given instance persistent.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#persist(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">persist</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Persist the given object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#persistAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">persistAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| boolean explicit, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Persist the given objects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#persistAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">persistAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Persist the given objects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#popFetchConfiguration()">popFetchConfiguration</A></B>()</CODE> |
| |
| <BR> |
| Pops the fetch configuration from the top of the stack, making the |
| next one down the active one.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#preFlush()">preFlush</A></B>()</CODE> |
| |
| <BR> |
| Run pre-flush actions on transactional objects, including |
| persistence-by-reachability, inverse relationship management, |
| deletion of dependent instances, and instance callbacks.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#processArgument(java.lang.Object)">processArgument</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid)</CODE> |
| |
| <BR> |
| Process find argument.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#processReturn(java.lang.Object, org.apache.openjpa.kernel.OpenJPAStateManager)">processReturn</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> sm)</CODE> |
| |
| <BR> |
| Process operation return value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#pushFetchConfiguration()">pushFetchConfiguration</A></B>()</CODE> |
| |
| <BR> |
| Pushes a new fetch configuration that inherits from the current |
| fetch configuration onto a stack, and makes the new configuration |
| the active one.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#putUserObject(java.lang.Object, java.lang.Object)">putUserObject</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> val)</CODE> |
| |
| <BR> |
| Put the specified key-value pair into the map of user objects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#refresh(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">refresh</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Refresh the state of the given object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#refreshAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">refreshAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Refresh the state of the given objects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#refreshInternal(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">refreshInternal</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| This method is called with the full set of objects reachable via |
| cascade-refresh relations from the user-given instances.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#refreshInternal(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">refreshInternal</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Optimization for single-object refresh.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#release(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">release</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Release the given object from management.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#releaseAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">releaseAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Release the given objects from management.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#releaseSavepoint()">releaseSavepoint</A></B>()</CODE> |
| |
| <BR> |
| Release the last set savepoint and any resources associated with it.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#releaseSavepoint(java.lang.String)">releaseSavepoint</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> savepoint)</CODE> |
| |
| <BR> |
| Release the savepoint and any resources associated with it.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#removeDereferencedDependent(org.apache.openjpa.kernel.StateManagerImpl)">removeDereferencedDependent</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</CODE> |
| |
| <BR> |
| Remove the given previously dereferenced dependent object from the |
| cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#removeFromPendingTransaction(org.apache.openjpa.kernel.StateManagerImpl)">removeFromPendingTransaction</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</CODE> |
| |
| <BR> |
| Notify the persistence manager that the given state manager should |
| be removed from the set of instances involved in the next transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#removeFromTransaction(org.apache.openjpa.kernel.StateManagerImpl)">removeFromTransaction</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</CODE> |
| |
| <BR> |
| Notify the persistence manager that the given state manager should |
| be removed from the set of instances involved in the current transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#removeLifecycleListener(java.lang.Object)">removeLifecycleListener</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener)</CODE> |
| |
| <BR> |
| Remove a listener for lifecycle-related events.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#removeTransactionListener(java.lang.Object)">removeTransactionListener</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> tl)</CODE> |
| |
| <BR> |
| Remove a listener for transaction-related events.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">retrieve</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| boolean dfgOnly, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Immediately load the given object's persistent fields.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#retrieveAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">retrieveAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| boolean dfgOnly, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Retrieve the given objects' persistent state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#rollback()">rollback</A></B>()</CODE> |
| |
| <BR> |
| Rollback the current transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#rollbackAndResume()">rollbackAndResume</A></B>()</CODE> |
| |
| <BR> |
| Issue a rollback and then start a new transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#rollbackToSavepoint()">rollbackToSavepoint</A></B>()</CODE> |
| |
| <BR> |
| Rollback the current transaction to the last savepoint.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#rollbackToSavepoint(java.lang.String)">rollbackToSavepoint</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> savepoint)</CODE> |
| |
| <BR> |
| Rollback the current transaction to the given savepoint name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setAuthentication(java.lang.String, java.lang.String)">setAuthentication</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> user, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> pass)</CODE> |
| |
| <BR> |
| Set the persistence manager's authentication.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setAutoClear(int)">setAutoClear</A></B>(int val)</CODE> |
| |
| <BR> |
| Whether objects clear when entering transactions.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setAutoDetach(int)">setAutoDetach</A></B>(int detachFlags)</CODE> |
| |
| <BR> |
| Bit flags marked in <A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html" title="interface in org.apache.openjpa.kernel"><CODE>AutoDetach</CODE></A> which indicate when persistent |
| managed objects should be automatically detached in-place.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setAutoDetach(int, boolean)">setAutoDetach</A></B>(int detachFlag, |
| boolean on)</CODE> |
| |
| <BR> |
| Bit flags marked in <A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html" title="interface in org.apache.openjpa.kernel"><CODE>AutoDetach</CODE></A> which indicate when persistent |
| managed objects should be automatically detached in-place.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setCacheFinderQuery(boolean)">setCacheFinderQuery</A></B>(boolean flag)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setCachePreparedQuery(boolean)">setCachePreparedQuery</A></B>(boolean flag)</CODE> |
| |
| <BR> |
| Sets whether this receiver will cache prepared queries during its |
| lifetime.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setConnectionFactory2Name(java.lang.String)">setConnectionFactory2Name</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> connectionFactory2Name)</CODE> |
| |
| <BR> |
| Set the 'NonJTA' ConnectionFactoryName.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setConnectionFactoryName(java.lang.String)">setConnectionFactoryName</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> connectionFactoryName)</CODE> |
| |
| <BR> |
| Set the 'JTA' ConnectionFactoryName.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setDetachedNew(boolean)">setDetachedNew</A></B>(boolean isNew)</CODE> |
| |
| <BR> |
| Whether to treat relations to detached instances as new.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setDetachState(int)">setDetachState</A></B>(int mode)</CODE> |
| |
| <BR> |
| Detach mode constant to determine which fields are part of the |
| detached graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setDirty(org.apache.openjpa.kernel.StateManagerImpl, boolean)">setDirty</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm, |
| boolean firstDirty)</CODE> |
| |
| <BR> |
| Notification that the given instance has been dirtied.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setEvictFromDataCache(boolean)">setEvictFromDataCache</A></B>(boolean evict)</CODE> |
| |
| <BR> |
| Whether to also evict an object from the store cache when it is |
| evicted through this broker.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setIgnoreChanges(boolean)">setIgnoreChanges</A></B>(boolean val)</CODE> |
| |
| <BR> |
| Whether to take into account changes in the transaction when executing |
| a query or iterating an extent.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setImplicitBehavior(org.apache.openjpa.kernel.OpCallbacks, org.apache.openjpa.util.RuntimeExceptionTranslator)">setImplicitBehavior</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call, |
| <A HREF="../../../../org/apache/openjpa/util/RuntimeExceptionTranslator.html" title="interface in org.apache.openjpa.util">RuntimeExceptionTranslator</A> ex)</CODE> |
| |
| <BR> |
| Set the broker's behavior for implicit actions such as flushing, |
| automatic detachment, and exceptions thrown by managed instances outside |
| a broker operation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setLifecycleListenerCallbackMode(int)">setLifecycleListenerCallbackMode</A></B>(int mode)</CODE> |
| |
| <BR> |
| The callback mode for handling exceptions from lifecycle event listeners.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setMultithreaded(boolean)">setMultithreaded</A></B>(boolean multithreaded)</CODE> |
| |
| <BR> |
| Whether the broker or its managed instances are used in a multithreaded |
| environment.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setNontransactionalRead(boolean)">setNontransactionalRead</A></B>(boolean val)</CODE> |
| |
| <BR> |
| Whether to allow nontransactional access to persistent state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setNontransactionalWrite(boolean)">setNontransactionalWrite</A></B>(boolean val)</CODE> |
| |
| <BR> |
| Whether to allow nontransactional changes to persistent state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setOptimistic(boolean)">setOptimistic</A></B>(boolean val)</CODE> |
| |
| <BR> |
| Whether to use optimistic transactional semantics.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setOrderDirtyObjects(boolean)">setOrderDirtyObjects</A></B>(boolean order)</CODE> |
| |
| <BR> |
| Whether to maintain the order in which objects are dirtied for |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()"><CODE>StoreContext.getDirtyObjects()</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setPopulateDataCache(boolean)">setPopulateDataCache</A></B>(boolean cache)</CODE> |
| |
| <BR> |
| Whether to populate the store cache with objects used by this |
| transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setRestoreState(int)">setRestoreState</A></B>(int val)</CODE> |
| |
| <BR> |
| Whether to restore an object's original state on rollback.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setRetainState(boolean)">setRetainState</A></B>(boolean val)</CODE> |
| |
| <BR> |
| Whether objects retain their persistent state on transaction commit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setRollbackOnly()">setRollbackOnly</A></B>()</CODE> |
| |
| <BR> |
| Mark the current transaction for rollback.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setRollbackOnly(java.lang.Throwable)">setRollbackOnly</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE> |
| |
| <BR> |
| Mark the current transaction for rollback with the specified cause |
| of the rollback.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setSavepoint(java.lang.String)">setSavepoint</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
| |
| <BR> |
| Set a transactional savepoint where operations after this savepoint |
| will be rolled back.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>(package private) void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setStateManager(java.lang.Object, org.apache.openjpa.kernel.StateManagerImpl, int)">setStateManager</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm, |
| int status)</CODE> |
| |
| <BR> |
| Set the cached StateManager for the instance that had the given oid.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setSuppressBatchOLELogging(boolean)">setSuppressBatchOLELogging</A></B>(boolean b)</CODE> |
| |
| <BR> |
| Set whether this Broker will generate verbose optimistic lock exceptions when batching |
| operations.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setSynchronization(javax.transaction.Synchronization)">setSynchronization</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/javax/transaction/Synchronization.html?is-external=true" title="class or interface in javax.transaction">Synchronization</A> sync)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setSyncWithManagedTransactions(boolean)">setSyncWithManagedTransactions</A></B>(boolean sync)</CODE> |
| |
| <BR> |
| Whether to check for a global transaction upon every managed, |
| non-transactional operation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setTrackChangesByType(boolean)">setTrackChangesByType</A></B>(boolean largeTransaction)</CODE> |
| |
| <BR> |
| If a large number of objects will be created, modified, or deleted |
| during this transaction setting this option to true will reduce memory |
| usage if you perform periodic flushes by tracking changes at the type |
| level instead of the instance level, resulting in more aggressive cache |
| invalidation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#setTransactionListenerCallbackMode(int)">setTransactionListenerCallbackMode</A></B>(int mode)</CODE> |
| |
| <BR> |
| The callback mode for handling exceptions from transaction event |
| listeners.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#syncWithManagedTransaction()">syncWithManagedTransaction</A></B>()</CODE> |
| |
| <BR> |
| Attempt to synchronize with a current managed transaction, returning |
| true if successful, false if no managed transaction is active.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#transactional(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">transactional</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| boolean updateVersion, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Make the given instances transactional.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#transactionalAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">transactionalAll</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| boolean updateVersion, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Make the given instances transactional.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#unlock()">unlock</A></B>()</CODE> |
| |
| <BR> |
| Releases the internal lock.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#validateChanges()">validateChanges</A></B>()</CODE> |
| |
| <BR> |
| Validate the changes made in this transaction, reporting any optimistic |
| violations, constraint violations, etc.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/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://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="FLUSH_INC"><!-- --></A><H3> |
| FLUSH_INC</H3> |
| <PRE> |
| protected static final int <B>FLUSH_INC</B></PRE> |
| <DL> |
| <DD>Incremental flush. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.BrokerImpl.FLUSH_INC">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="FLUSH_COMMIT"><!-- --></A><H3> |
| FLUSH_COMMIT</H3> |
| <PRE> |
| protected static final int <B>FLUSH_COMMIT</B></PRE> |
| <DL> |
| <DD>Flush in preparation of commit. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.BrokerImpl.FLUSH_COMMIT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="FLUSH_ROLLBACK"><!-- --></A><H3> |
| FLUSH_ROLLBACK</H3> |
| <PRE> |
| protected static final int <B>FLUSH_ROLLBACK</B></PRE> |
| <DL> |
| <DD>Flush to check consistency of cache, then immediately rollback changes. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.BrokerImpl.FLUSH_ROLLBACK">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="FLUSH_LOGICAL"><!-- --></A><H3> |
| FLUSH_LOGICAL</H3> |
| <PRE> |
| protected static final int <B>FLUSH_LOGICAL</B></PRE> |
| <DL> |
| <DD>Run persistence-by-reachability and other flush-time operations without |
| accessing the database. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.BrokerImpl.FLUSH_LOGICAL">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="STATUS_INIT"><!-- --></A><H3> |
| STATUS_INIT</H3> |
| <PRE> |
| static final int <B>STATUS_INIT</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.BrokerImpl.STATUS_INIT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="STATUS_TRANSIENT"><!-- --></A><H3> |
| STATUS_TRANSIENT</H3> |
| <PRE> |
| static final int <B>STATUS_TRANSIENT</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.BrokerImpl.STATUS_TRANSIENT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="STATUS_OID_ASSIGN"><!-- --></A><H3> |
| STATUS_OID_ASSIGN</H3> |
| <PRE> |
| static final int <B>STATUS_OID_ASSIGN</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.BrokerImpl.STATUS_OID_ASSIGN">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="STATUS_COMMIT_NEW"><!-- --></A><H3> |
| STATUS_COMMIT_NEW</H3> |
| <PRE> |
| static final int <B>STATUS_COMMIT_NEW</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.BrokerImpl.STATUS_COMMIT_NEW">Constant Field Values</A></DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="BrokerImpl()"><!-- --></A><H3> |
| BrokerImpl</H3> |
| <PRE> |
| public <B>BrokerImpl</B>()</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="setAuthentication(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| setAuthentication</H3> |
| <PRE> |
| public void <B>setAuthentication</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> user, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> pass)</PRE> |
| <DL> |
| <DD>Set the persistence manager's authentication. This is the first |
| method called after construction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>user</CODE> - the username this broker represents; used when pooling |
| brokers to make sure that a request to the factory for |
| a connection with an explicit user is delegated to a suitable broker<DD><CODE>pass</CODE> - the password for the above user</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="initialize(org.apache.openjpa.kernel.AbstractBrokerFactory, org.apache.openjpa.kernel.DelegatingStoreManager, boolean, int, boolean)"><!-- --></A><H3> |
| initialize</H3> |
| <PRE> |
| public void <B>initialize</B>(<A HREF="../../../../org/apache/openjpa/kernel/AbstractBrokerFactory.html" title="class in org.apache.openjpa.kernel">AbstractBrokerFactory</A> factory, |
| <A HREF="../../../../org/apache/openjpa/kernel/DelegatingStoreManager.html" title="class in org.apache.openjpa.kernel">DelegatingStoreManager</A> sm, |
| boolean managed, |
| int connMode, |
| boolean fromDeserialization)</PRE> |
| <DL> |
| <DD>Initialize the persistence manager. This method is called |
| automatically by the factory before use. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>factory</CODE> - the factory used to create this broker<DD><CODE>sm</CODE> - a concrete StoreManager implementation to |
| handle interaction with the data store<DD><CODE>managed</CODE> - the transaction mode<DD><CODE>connMode</CODE> - the connection retain mode<DD><CODE>fromDeserialization</CODE> - whether this call happened because of a |
| deserialization or creation of a new BrokerImpl.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="initialize(org.apache.openjpa.kernel.AbstractBrokerFactory, org.apache.openjpa.kernel.DelegatingStoreManager, boolean, int, boolean, boolean)"><!-- --></A><H3> |
| initialize</H3> |
| <PRE> |
| public void <B>initialize</B>(<A HREF="../../../../org/apache/openjpa/kernel/AbstractBrokerFactory.html" title="class in org.apache.openjpa.kernel">AbstractBrokerFactory</A> factory, |
| <A HREF="../../../../org/apache/openjpa/kernel/DelegatingStoreManager.html" title="class in org.apache.openjpa.kernel">DelegatingStoreManager</A> sm, |
| boolean managed, |
| int connMode, |
| boolean fromDeserialization, |
| boolean fromWriteBehindCallback)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOperatingSet()"><!-- --></A><H3> |
| getOperatingSet</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getOperatingSet</B>()</PRE> |
| <DL> |
| <DD>Gets the unmodifiable set of instances being operated. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="clone()"><!-- --></A><H3> |
| clone</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>clone</B>() |
| throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true" title="class or interface in java.lang">CloneNotSupportedException</A></PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true" title="class or interface in java.lang">CloneNotSupportedException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newManagedObjectCache()"><!-- --></A><H3> |
| newManagedObjectCache</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><?,?> <B>newManagedObjectCache</B>()</PRE> |
| <DL> |
| <DD>Create a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> to be used for the primary managed object cache. |
| Maps oids to state managers. By default, this creates a |
| <A HREF="../../../../org/apache/openjpa/lib/util/ReferenceMap.html" title="interface in org.apache.openjpa.lib.util"><CODE>ReferenceMap</CODE></A> with soft values. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getBroker()"><!-- --></A><H3> |
| getBroker</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A> <B>getBroker</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getBroker()">StoreContext</A></CODE></B></DD> |
| <DD>Return the broker for this context, if possible. Note that a broker |
| will be unavailable in remote contexts, and this method may return null. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getBroker()">getBroker</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setImplicitBehavior(org.apache.openjpa.kernel.OpCallbacks, org.apache.openjpa.util.RuntimeExceptionTranslator)"><!-- --></A><H3> |
| setImplicitBehavior</H3> |
| <PRE> |
| public void <B>setImplicitBehavior</B>(<A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call, |
| <A HREF="../../../../org/apache/openjpa/util/RuntimeExceptionTranslator.html" title="interface in org.apache.openjpa.util">RuntimeExceptionTranslator</A> ex)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setImplicitBehavior(org.apache.openjpa.kernel.OpCallbacks, org.apache.openjpa.util.RuntimeExceptionTranslator)">Broker</A></CODE></B></DD> |
| <DD>Set the broker's behavior for implicit actions such as flushing, |
| automatic detachment, and exceptions thrown by managed instances outside |
| a broker operation. A broker's implicit behavior can only be set once; |
| after the first invocation with non-null arguments, |
| subsequent invocations of this method are ignored. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setImplicitBehavior(org.apache.openjpa.kernel.OpCallbacks, org.apache.openjpa.util.RuntimeExceptionTranslator)">setImplicitBehavior</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getInstanceExceptionTranslator()"><!-- --></A><H3> |
| getInstanceExceptionTranslator</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/util/RuntimeExceptionTranslator.html" title="interface in org.apache.openjpa.util">RuntimeExceptionTranslator</A> <B>getInstanceExceptionTranslator</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getBrokerFactory()"><!-- --></A><H3> |
| getBrokerFactory</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/BrokerFactory.html" title="interface in org.apache.openjpa.kernel">BrokerFactory</A> <B>getBrokerFactory</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getBrokerFactory()">Broker</A></CODE></B></DD> |
| <DD>Return the factory that produced this broker. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getBrokerFactory()">getBrokerFactory</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConfiguration()"><!-- --></A><H3> |
| getConfiguration</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</A> <B>getConfiguration</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConfiguration()">StoreContext</A></CODE></B></DD> |
| <DD>Return the configuration associated with this context. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConfiguration()">getConfiguration</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFetchConfiguration()"><!-- --></A><H3> |
| getFetchConfiguration</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> <B>getFetchConfiguration</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getFetchConfiguration()">StoreContext</A></CODE></B></DD> |
| <DD>Return the (mutable) fetch configuration for loading objects from this |
| context. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getFetchConfiguration()">getFetchConfiguration</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="pushFetchConfiguration()"><!-- --></A><H3> |
| pushFetchConfiguration</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> <B>pushFetchConfiguration</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#pushFetchConfiguration()">StoreContext</A></CODE></B></DD> |
| <DD>Pushes a new fetch configuration that inherits from the current |
| fetch configuration onto a stack, and makes the new configuration |
| the active one. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#pushFetchConfiguration()">pushFetchConfiguration</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the new fetch configuration</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="popFetchConfiguration()"><!-- --></A><H3> |
| popFetchConfiguration</H3> |
| <PRE> |
| public void <B>popFetchConfiguration</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#popFetchConfiguration()">StoreContext</A></CODE></B></DD> |
| <DD>Pops the fetch configuration from the top of the stack, making the |
| next one down the active one. This returns void to avoid confusion, |
| since fetch configurations tend to be used in method-chaining |
| patterns often. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#popFetchConfiguration()">popFetchConfiguration</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionRetainMode()"><!-- --></A><H3> |
| getConnectionRetainMode</H3> |
| <PRE> |
| public int <B>getConnectionRetainMode</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getConnectionRetainMode()">Broker</A></CODE></B></DD> |
| <DD>Return the connection retain mode for this broker. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getConnectionRetainMode()">getConnectionRetainMode</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isManaged()"><!-- --></A><H3> |
| isManaged</H3> |
| <PRE> |
| public boolean <B>isManaged</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isManaged()">StoreContext</A></CODE></B></DD> |
| <DD>Whether this context is using managed transactions. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isManaged()">isManaged</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getManagedRuntime()"><!-- --></A><H3> |
| getManagedRuntime</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/ee/ManagedRuntime.html" title="interface in org.apache.openjpa.ee">ManagedRuntime</A> <B>getManagedRuntime</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getManagedRuntime()">Broker</A></CODE></B></DD> |
| <DD>Return the managed runtime in use. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getManagedRuntime()">getManagedRuntime</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getClassLoader()"><!-- --></A><H3> |
| getClassLoader</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A> <B>getClassLoader</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getClassLoader()">StoreContext</A></CODE></B></DD> |
| <DD>Return the current thread's class loader at the time this context |
| was obtained. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getClassLoader()">getClassLoader</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStoreManager()"><!-- --></A><H3> |
| getStoreManager</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/DelegatingStoreManager.html" title="class in org.apache.openjpa.kernel">DelegatingStoreManager</A> <B>getStoreManager</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getStoreManager()">StoreContext</A></CODE></B></DD> |
| <DD>Return the store manager in use. This will be a wrapper around the |
| native store manager, which you can retrieve via |
| <A HREF="../../../../org/apache/openjpa/kernel/DelegatingStoreManager.html#getInnermostDelegate()"><CODE>DelegatingStoreManager.getInnermostDelegate()</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getStoreManager()">getStoreManager</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLockManager()"><!-- --></A><H3> |
| getLockManager</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/LockManager.html" title="interface in org.apache.openjpa.kernel">LockManager</A> <B>getLockManager</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getLockManager()">StoreContext</A></CODE></B></DD> |
| <DD>Return the lock manager in use. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getLockManager()">getLockManager</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getInverseManager()"><!-- --></A><H3> |
| getInverseManager</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/InverseManager.html" title="class in org.apache.openjpa.kernel">InverseManager</A> <B>getInverseManager</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getInverseManager()">Broker</A></CODE></B></DD> |
| <DD>Return the inverse manager in use. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getInverseManager()">getInverseManager</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionUserName()"><!-- --></A><H3> |
| getConnectionUserName</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionUserName</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionUserName()">StoreContext</A></CODE></B></DD> |
| <DD>Return the connection user name. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionUserName()">getConnectionUserName</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionPassword()"><!-- --></A><H3> |
| getConnectionPassword</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionPassword</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionPassword()">StoreContext</A></CODE></B></DD> |
| <DD>Return the connection password. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionPassword()">getConnectionPassword</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMultithreaded()"><!-- --></A><H3> |
| getMultithreaded</H3> |
| <PRE> |
| public boolean <B>getMultithreaded</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getMultithreaded()">Broker</A></CODE></B></DD> |
| <DD>Whether the broker or its managed instances are used in a multithreaded |
| environment. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getMultithreaded()">getMultithreaded</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setMultithreaded(boolean)"><!-- --></A><H3> |
| setMultithreaded</H3> |
| <PRE> |
| public void <B>setMultithreaded</B>(boolean multithreaded)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setMultithreaded(boolean)">Broker</A></CODE></B></DD> |
| <DD>Whether the broker or its managed instances are used in a multithreaded |
| environment. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setMultithreaded(boolean)">setMultithreaded</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getIgnoreChanges()"><!-- --></A><H3> |
| getIgnoreChanges</H3> |
| <PRE> |
| public boolean <B>getIgnoreChanges</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getIgnoreChanges()">Broker</A></CODE></B></DD> |
| <DD>Whether to take into account changes in the transaction when executing |
| a query or iterating an extent. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getIgnoreChanges()">getIgnoreChanges</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setIgnoreChanges(boolean)"><!-- --></A><H3> |
| setIgnoreChanges</H3> |
| <PRE> |
| public void <B>setIgnoreChanges</B>(boolean val)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setIgnoreChanges(boolean)">Broker</A></CODE></B></DD> |
| <DD>Whether to take into account changes in the transaction when executing |
| a query or iterating an extent. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setIgnoreChanges(boolean)">setIgnoreChanges</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNontransactionalRead()"><!-- --></A><H3> |
| getNontransactionalRead</H3> |
| <PRE> |
| public boolean <B>getNontransactionalRead</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getNontransactionalRead()">Broker</A></CODE></B></DD> |
| <DD>Whether to allow nontransactional access to persistent state. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getNontransactionalRead()">getNontransactionalRead</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setNontransactionalRead(boolean)"><!-- --></A><H3> |
| setNontransactionalRead</H3> |
| <PRE> |
| public void <B>setNontransactionalRead</B>(boolean val)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setNontransactionalRead(boolean)">Broker</A></CODE></B></DD> |
| <DD>Whether to allow nontransactional access to persistent state. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setNontransactionalRead(boolean)">setNontransactionalRead</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNontransactionalWrite()"><!-- --></A><H3> |
| getNontransactionalWrite</H3> |
| <PRE> |
| public boolean <B>getNontransactionalWrite</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getNontransactionalWrite()">Broker</A></CODE></B></DD> |
| <DD>Whether to allow nontransactional changes to persistent state. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getNontransactionalWrite()">getNontransactionalWrite</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setNontransactionalWrite(boolean)"><!-- --></A><H3> |
| setNontransactionalWrite</H3> |
| <PRE> |
| public void <B>setNontransactionalWrite</B>(boolean val)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setNontransactionalWrite(boolean)">Broker</A></CODE></B></DD> |
| <DD>Whether to allow nontransactional changes to persistent state. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setNontransactionalWrite(boolean)">setNontransactionalWrite</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOptimistic()"><!-- --></A><H3> |
| getOptimistic</H3> |
| <PRE> |
| public boolean <B>getOptimistic</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getOptimistic()">Broker</A></CODE></B></DD> |
| <DD>Whether to use optimistic transactional semantics. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getOptimistic()">getOptimistic</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setOptimistic(boolean)"><!-- --></A><H3> |
| setOptimistic</H3> |
| <PRE> |
| public void <B>setOptimistic</B>(boolean val)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setOptimistic(boolean)">Broker</A></CODE></B></DD> |
| <DD>Whether to use optimistic transactional semantics. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setOptimistic(boolean)">setOptimistic</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRestoreState()"><!-- --></A><H3> |
| getRestoreState</H3> |
| <PRE> |
| public int <B>getRestoreState</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getRestoreState()">Broker</A></CODE></B></DD> |
| <DD>Whether to restore an object's original state on rollback. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getRestoreState()">getRestoreState</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRestoreState(int)"><!-- --></A><H3> |
| setRestoreState</H3> |
| <PRE> |
| public void <B>setRestoreState</B>(int val)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setRestoreState(int)">Broker</A></CODE></B></DD> |
| <DD>Whether to restore an object's original state on rollback. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setRestoreState(int)">setRestoreState</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRetainState()"><!-- --></A><H3> |
| getRetainState</H3> |
| <PRE> |
| public boolean <B>getRetainState</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getRetainState()">Broker</A></CODE></B></DD> |
| <DD>Whether objects retain their persistent state on transaction commit. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getRetainState()">getRetainState</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRetainState(boolean)"><!-- --></A><H3> |
| setRetainState</H3> |
| <PRE> |
| public void <B>setRetainState</B>(boolean val)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setRetainState(boolean)">Broker</A></CODE></B></DD> |
| <DD>Whether objects retain their persistent state on transaction commit. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setRetainState(boolean)">setRetainState</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAutoClear()"><!-- --></A><H3> |
| getAutoClear</H3> |
| <PRE> |
| public int <B>getAutoClear</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getAutoClear()">Broker</A></CODE></B></DD> |
| <DD>Whether objects clear when entering transactions. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getAutoClear()">getAutoClear</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAutoClear(int)"><!-- --></A><H3> |
| setAutoClear</H3> |
| <PRE> |
| public void <B>setAutoClear</B>(int val)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setAutoClear(int)">Broker</A></CODE></B></DD> |
| <DD>Whether objects clear when entering transactions. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setAutoClear(int)">setAutoClear</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAutoDetach()"><!-- --></A><H3> |
| getAutoDetach</H3> |
| <PRE> |
| public int <B>getAutoDetach</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getAutoDetach()">Broker</A></CODE></B></DD> |
| <DD>Bit flags marked in <A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html" title="interface in org.apache.openjpa.kernel"><CODE>AutoDetach</CODE></A> which indicate when persistent |
| managed objects should be automatically detached in-place. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getAutoDetach()">getAutoDetach</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAutoDetach(int)"><!-- --></A><H3> |
| setAutoDetach</H3> |
| <PRE> |
| public void <B>setAutoDetach</B>(int detachFlags)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setAutoDetach(int)">Broker</A></CODE></B></DD> |
| <DD>Bit flags marked in <A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html" title="interface in org.apache.openjpa.kernel"><CODE>AutoDetach</CODE></A> which indicate when persistent |
| managed objects should be automatically detached in-place. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setAutoDetach(int)">setAutoDetach</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAutoDetach(int, boolean)"><!-- --></A><H3> |
| setAutoDetach</H3> |
| <PRE> |
| public void <B>setAutoDetach</B>(int detachFlag, |
| boolean on)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setAutoDetach(int, boolean)">Broker</A></CODE></B></DD> |
| <DD>Bit flags marked in <A HREF="../../../../org/apache/openjpa/kernel/AutoDetach.html" title="interface in org.apache.openjpa.kernel"><CODE>AutoDetach</CODE></A> which indicate when persistent |
| managed objects should be automatically detached in-place. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setAutoDetach(int, boolean)">setAutoDetach</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDetachState()"><!-- --></A><H3> |
| getDetachState</H3> |
| <PRE> |
| public int <B>getDetachState</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDetachState()">StoreContext</A></CODE></B></DD> |
| <DD>Detach mode constant to determine which fields are part of the |
| detached graph. Defaults to <A HREF="../../../../org/apache/openjpa/kernel/DetachState.html#DETACH_LOADED"><CODE>DetachState.DETACH_LOADED</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDetachState()">getDetachState</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDetachState(int)"><!-- --></A><H3> |
| setDetachState</H3> |
| <PRE> |
| public void <B>setDetachState</B>(int mode)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setDetachState(int)">StoreContext</A></CODE></B></DD> |
| <DD>Detach mode constant to determine which fields are part of the |
| detached graph. Defaults to <A HREF="../../../../org/apache/openjpa/kernel/DetachState.html#DETACH_LOADED"><CODE>DetachState.DETACH_LOADED</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setDetachState(int)">setDetachState</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isDetachedNew()"><!-- --></A><H3> |
| isDetachedNew</H3> |
| <PRE> |
| public boolean <B>isDetachedNew</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#isDetachedNew()">Broker</A></CODE></B></DD> |
| <DD>Whether to treat relations to detached instances during persist |
| operations as new or as pseudo-hollow instances. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#isDetachedNew()">isDetachedNew</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDetachedNew(boolean)"><!-- --></A><H3> |
| setDetachedNew</H3> |
| <PRE> |
| public void <B>setDetachedNew</B>(boolean isNew)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setDetachedNew(boolean)">Broker</A></CODE></B></DD> |
| <DD>Whether to treat relations to detached instances as new. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setDetachedNew(boolean)">setDetachedNew</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSyncWithManagedTransactions()"><!-- --></A><H3> |
| getSyncWithManagedTransactions</H3> |
| <PRE> |
| public boolean <B>getSyncWithManagedTransactions</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getSyncWithManagedTransactions()">Broker</A></CODE></B></DD> |
| <DD>Whether to check for a global transaction upon every managed, |
| non-transactional operation. Defaults to false. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getSyncWithManagedTransactions()">getSyncWithManagedTransactions</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSyncWithManagedTransactions(boolean)"><!-- --></A><H3> |
| setSyncWithManagedTransactions</H3> |
| <PRE> |
| public void <B>setSyncWithManagedTransactions</B>(boolean sync)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setSyncWithManagedTransactions(boolean)">Broker</A></CODE></B></DD> |
| <DD>Whether to check for a global transaction upon every managed, |
| non-transactional operation. Defaults to false. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setSyncWithManagedTransactions(boolean)">setSyncWithManagedTransactions</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEvictFromDataCache()"><!-- --></A><H3> |
| getEvictFromDataCache</H3> |
| <PRE> |
| public boolean <B>getEvictFromDataCache</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getEvictFromDataCache()">Broker</A></CODE></B></DD> |
| <DD>Whether to also evict an object from the store cache when it is |
| evicted through this broker. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getEvictFromDataCache()">getEvictFromDataCache</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setEvictFromDataCache(boolean)"><!-- --></A><H3> |
| setEvictFromDataCache</H3> |
| <PRE> |
| public void <B>setEvictFromDataCache</B>(boolean evict)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setEvictFromDataCache(boolean)">Broker</A></CODE></B></DD> |
| <DD>Whether to also evict an object from the store cache when it is |
| evicted through this broker. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setEvictFromDataCache(boolean)">setEvictFromDataCache</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPopulateDataCache()"><!-- --></A><H3> |
| getPopulateDataCache</H3> |
| <PRE> |
| public boolean <B>getPopulateDataCache</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getPopulateDataCache()">StoreContext</A></CODE></B></DD> |
| <DD>Whether objects accessed during this transaction will be added to the |
| store cache. Defaults to true. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getPopulateDataCache()">getPopulateDataCache</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setPopulateDataCache(boolean)"><!-- --></A><H3> |
| setPopulateDataCache</H3> |
| <PRE> |
| public void <B>setPopulateDataCache</B>(boolean cache)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setPopulateDataCache(boolean)">StoreContext</A></CODE></B></DD> |
| <DD>Whether to populate the store cache with objects used by this |
| transaction. Defaults to true. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setPopulateDataCache(boolean)">setPopulateDataCache</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTrackChangesByType()"><!-- --></A><H3> |
| isTrackChangesByType</H3> |
| <PRE> |
| public boolean <B>isTrackChangesByType</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isTrackChangesByType()">StoreContext</A></CODE></B></DD> |
| <DD>Whether memory usage is reduced during this transaction at the expense |
| of tracking changes at the type level instead of the instance level, |
| resulting in more aggressive cache invalidation. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isTrackChangesByType()">isTrackChangesByType</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setTrackChangesByType(boolean)"><!-- --></A><H3> |
| setTrackChangesByType</H3> |
| <PRE> |
| public void <B>setTrackChangesByType</B>(boolean largeTransaction)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setTrackChangesByType(boolean)">StoreContext</A></CODE></B></DD> |
| <DD>If a large number of objects will be created, modified, or deleted |
| during this transaction setting this option to true will reduce memory |
| usage if you perform periodic flushes by tracking changes at the type |
| level instead of the instance level, resulting in more aggressive cache |
| invalidation. Upon transaction commit the data cache will have to |
| more aggressively flush objects. The store cache will have to flush |
| instances of objects for each class of object modified during the |
| transaction. A side benefit of large transaction mode is that smaller |
| update messages can be used for |
| <A HREF="../../../../org/apache/openjpa/event/RemoteCommitEvent.html" title="class in org.apache.openjpa.event"><CODE>RemoteCommitEvent</CODE></A>s. Defaults to false. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setTrackChangesByType(boolean)">setTrackChangesByType</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getUserObject(java.lang.Object)"><!-- --></A><H3> |
| getUserObject</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getUserObject</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getUserObject(java.lang.Object)">Broker</A></CODE></B></DD> |
| <DD>Get the value for the specified key from the map of user objects. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getUserObject(java.lang.Object)">getUserObject</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="putUserObject(java.lang.Object, java.lang.Object)"><!-- --></A><H3> |
| putUserObject</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>putUserObject</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> val)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#putUserObject(java.lang.Object, java.lang.Object)">Broker</A></CODE></B></DD> |
| <DD>Put the specified key-value pair into the map of user objects. Use |
| a value of null to remove the key. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#putUserObject(java.lang.Object, java.lang.Object)">putUserObject</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getProperties()"><!-- --></A><H3> |
| getProperties</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getProperties</B>()</PRE> |
| <DL> |
| <DD>Get current configuration property values used by this instance. |
| This values are combination of the current configuration values |
| overwritten by values maintained by this instance such as |
| Optimistic flag. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getProperties()">getProperties</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the changed properties</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSupportedProperties()"><!-- --></A><H3> |
| getSupportedProperties</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getSupportedProperties</B>()</PRE> |
| <DL> |
| <DD>Gets the property names that can be used to corresponding setter methods of this receiver |
| to set its value. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getSupportedProperties()">getSupportedProperties</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addLifecycleListener(java.lang.Object, java.lang.Class[])"><!-- --></A><H3> |
| addLifecycleListener</H3> |
| <PRE> |
| public void <B>addLifecycleListener</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>[] classes)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#addLifecycleListener(java.lang.Object, java.lang.Class[])">Broker</A></CODE></B></DD> |
| <DD>Register a listener for lifecycle-related events on the specified |
| classes. If the classes are null, all events will be propagated to |
| the listener. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#addLifecycleListener(java.lang.Object, java.lang.Class[])">addLifecycleListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeLifecycleListener(java.lang.Object)"><!-- --></A><H3> |
| removeLifecycleListener</H3> |
| <PRE> |
| public void <B>removeLifecycleListener</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#removeLifecycleListener(java.lang.Object)">Broker</A></CODE></B></DD> |
| <DD>Remove a listener for lifecycle-related events. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#removeLifecycleListener(java.lang.Object)">removeLifecycleListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLifecycleListenerCallbackMode()"><!-- --></A><H3> |
| getLifecycleListenerCallbackMode</H3> |
| <PRE> |
| public int <B>getLifecycleListenerCallbackMode</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getLifecycleListenerCallbackMode()">Broker</A></CODE></B></DD> |
| <DD>The callback mode for handling exceptions from lifecycle event listeners. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getLifecycleListenerCallbackMode()">getLifecycleListenerCallbackMode</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setLifecycleListenerCallbackMode(int)"><!-- --></A><H3> |
| setLifecycleListenerCallbackMode</H3> |
| <PRE> |
| public void <B>setLifecycleListenerCallbackMode</B>(int mode)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setLifecycleListenerCallbackMode(int)">Broker</A></CODE></B></DD> |
| <DD>The callback mode for handling exceptions from lifecycle event listeners. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setLifecycleListenerCallbackMode(int)">setLifecycleListenerCallbackMode</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLifecycleEventManager()"><!-- --></A><H3> |
| getLifecycleEventManager</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/event/LifecycleEventManager.html" title="class in org.apache.openjpa.event">LifecycleEventManager</A> <B>getLifecycleEventManager</B>()</PRE> |
| <DL> |
| <DD>Give state managers access to the lifecycle event manager. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getLifecycleEventManager()">getLifecycleEventManager</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="fireLifecycleEvent(java.lang.Object, java.lang.Object, org.apache.openjpa.meta.ClassMetaData, int)"><!-- --></A><H3> |
| fireLifecycleEvent</H3> |
| <PRE> |
| boolean <B>fireLifecycleEvent</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> related, |
| <A HREF="../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</A> meta, |
| int eventType)</PRE> |
| <DL> |
| <DD>Fire given lifecycle event, handling any exceptions appropriately. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>whether events are being processed at this time</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addTransactionListener(java.lang.Object)"><!-- --></A><H3> |
| addTransactionListener</H3> |
| <PRE> |
| public void <B>addTransactionListener</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> tl)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#addTransactionListener(java.lang.Object)">Broker</A></CODE></B></DD> |
| <DD>Register a listener for transaction-related events. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#addTransactionListener(java.lang.Object)">addTransactionListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeTransactionListener(java.lang.Object)"><!-- --></A><H3> |
| removeTransactionListener</H3> |
| <PRE> |
| public void <B>removeTransactionListener</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> tl)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#removeTransactionListener(java.lang.Object)">Broker</A></CODE></B></DD> |
| <DD>Remove a listener for transaction-related events. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#removeTransactionListener(java.lang.Object)">removeTransactionListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTransactionListeners()"><!-- --></A><H3> |
| getTransactionListeners</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getTransactionListeners</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getTransactionListeners()">Broker</A></CODE></B></DD> |
| <DD>Gets an umodifiable collection of currently registered lsteners. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getTransactionListeners()">getTransactionListeners</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTransactionListenerCallbackMode()"><!-- --></A><H3> |
| getTransactionListenerCallbackMode</H3> |
| <PRE> |
| public int <B>getTransactionListenerCallbackMode</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getTransactionListenerCallbackMode()">Broker</A></CODE></B></DD> |
| <DD>The callback mode for handling exceptions from transaction event |
| listeners. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getTransactionListenerCallbackMode()">getTransactionListenerCallbackMode</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setTransactionListenerCallbackMode(int)"><!-- --></A><H3> |
| setTransactionListenerCallbackMode</H3> |
| <PRE> |
| public void <B>setTransactionListenerCallbackMode</B>(int mode)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setTransactionListenerCallbackMode(int)">Broker</A></CODE></B></DD> |
| <DD>The callback mode for handling exceptions from transaction event |
| listeners. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setTransactionListenerCallbackMode(int)">setTransactionListenerCallbackMode</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSuppressBatchOLELogging(boolean)"><!-- --></A><H3> |
| setSuppressBatchOLELogging</H3> |
| <PRE> |
| public void <B>setSuppressBatchOLELogging</B>(boolean b)</PRE> |
| <DL> |
| <DD>Set whether this Broker will generate verbose optimistic lock exceptions when batching |
| operations. Defaults to true. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>b</CODE> - </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSuppressBatchOLELogging()"><!-- --></A><H3> |
| getSuppressBatchOLELogging</H3> |
| <PRE> |
| public boolean <B>getSuppressBatchOLELogging</B>()</PRE> |
| <DL> |
| <DD>Return whether this Broker will generate verbose optimistic lock exceptions when batching |
| operations. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="find(java.lang.Object, boolean, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> |
| find</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>find</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| boolean validate, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#find(java.lang.Object, boolean, org.apache.openjpa.kernel.FindCallbacks)">StoreContext</A></CODE></B></DD> |
| <DD>Find the persistence object with the given oid. If |
| <code>validate</code> is true, the broker will check the store |
| for the object, and return null if it does not exist. If |
| <code>validate</code> is false, this method never returns null. The |
| broker will either return its cached instance, attempt to create a |
| hollow instance, or throw an <code>ObjectNotFoundException</code> if |
| unable to return a hollow instance. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#find(java.lang.Object, boolean, org.apache.openjpa.kernel.FindCallbacks)">find</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DD><CODE>validate</CODE> - if true, validate that the instance exists in the |
| store and load fetch group fields, otherwise return |
| any cached or hollow instance</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="find(java.lang.Object, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)"><!-- --></A><H3> |
| find</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>find</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#find(java.lang.Object, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)">StoreContext</A></CODE></B></DD> |
| <DD>Return the object with the given oid. If present, the |
| cached instance will be returned. Otherwise, the instance will be |
| initialized through the store as usual; however, in this case |
| the store will be passed the given execution data, and the |
| system will load the object according to the given fetch configuration |
| (or the context's configuration, if the given one is null). |
| Fields can optionally be excluded from required loading using the |
| <code>exclude</code> mask. By default this method does not find new |
| unflushed instances, validates, and does not throw an exception |
| if a cached instance has been deleted concurrently. These options |
| are controllable through the given <code>OID_XXX</code> flags. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#find(java.lang.Object, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)">find</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="find(java.lang.Object, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> |
| find</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>find</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Internal finder. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="initialize(org.apache.openjpa.kernel.StateManagerImpl, boolean, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object)"><!-- --></A><H3> |
| initialize</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> <B>initialize</B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm, |
| boolean load, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata)</PRE> |
| <DL> |
| <DD>Initialize a newly-constructed state manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findAll(java.util.Collection, boolean, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> |
| findAll</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>findAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> oids, |
| boolean validate, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#findAll(java.util.Collection, boolean, org.apache.openjpa.kernel.FindCallbacks)">StoreContext</A></CODE></B></DD> |
| <DD>Return the objects with the given oids. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#findAll(java.util.Collection, boolean, org.apache.openjpa.kernel.FindCallbacks)">findAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>oids</CODE> - the oids of the objects to return |
| <DT><B>Returns:</B><DD>the objects that were looked up, in the same order as the oids |
| parameter<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#find(java.lang.Object, boolean, org.apache.openjpa.kernel.FindCallbacks)"><CODE>StoreContext.find(Object,boolean,FindCallbacks)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findAll(java.util.Collection, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)"><!-- --></A><H3> |
| findAll</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>findAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> oids, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#findAll(java.util.Collection, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)">StoreContext</A></CODE></B></DD> |
| <DD>Return the objects with the given oids. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#findAll(java.util.Collection, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)">findAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#find(java.lang.Object, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)"><CODE>StoreContext.find(Object,FetchConfiguration,BitSet,Object,int)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findAll(java.util.Collection, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> |
| findAll</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>findAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> oids, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Internal finder. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findCached(java.lang.Object, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> |
| findCached</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>findCached</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#findCached(java.lang.Object, org.apache.openjpa.kernel.FindCallbacks)">StoreContext</A></CODE></B></DD> |
| <DD>Return the instance for the given oid/object , or null if not |
| found in the L1 cache. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#findCached(java.lang.Object, org.apache.openjpa.kernel.FindCallbacks)">findCached</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>oid</CODE> - the object's id |
| <DT><B>Returns:</B><DD>the cached object, or null if not cached</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getObjectIdType(java.lang.Class)"><!-- --></A><H3> |
| getObjectIdType</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> <B>getObjectIdType</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getObjectIdType(java.lang.Class)">StoreContext</A></CODE></B></DD> |
| <DD>Return the application or datastore identity class the given persistent |
| class uses for object ids. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getObjectIdType(java.lang.Class)">getObjectIdType</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newObjectId(java.lang.Class, java.lang.Object)"><!-- --></A><H3> |
| newObjectId</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>newObjectId</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> val)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#newObjectId(java.lang.Class, java.lang.Object)">StoreContext</A></CODE></B></DD> |
| <DD>Create a new object id instance from the given value. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#newObjectId(java.lang.Class, java.lang.Object)">newObjectId</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>cls</CODE> - the persistent class that uses this identity value<DD><CODE>val</CODE> - an object id instance, stringified object id, or primary |
| key value</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newStateManagerImpl(java.lang.Object, org.apache.openjpa.meta.ClassMetaData)"><!-- --></A><H3> |
| newStateManagerImpl</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> <B>newStateManagerImpl</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</A> meta)</PRE> |
| <DL> |
| <DD>Create a state manager for the given oid and metadata. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="begin()"><!-- --></A><H3> |
| begin</H3> |
| <PRE> |
| public void <B>begin</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#begin()">Broker</A></CODE></B></DD> |
| <DD>Begin a transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#begin()">begin</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="beginStore()"><!-- --></A><H3> |
| beginStore</H3> |
| <PRE> |
| public void <B>beginStore</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#beginStore()">StoreContext</A></CODE></B></DD> |
| <DD>Begin a data store transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#beginStore()">beginStore</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="commit()"><!-- --></A><H3> |
| commit</H3> |
| <PRE> |
| public void <B>commit</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#commit()">Broker</A></CODE></B></DD> |
| <DD>Commit the current transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#commit()">commit</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="rollback()"><!-- --></A><H3> |
| rollback</H3> |
| <PRE> |
| public void <B>rollback</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#rollback()">Broker</A></CODE></B></DD> |
| <DD>Rollback the current transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#rollback()">rollback</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="syncWithManagedTransaction()"><!-- --></A><H3> |
| syncWithManagedTransaction</H3> |
| <PRE> |
| public boolean <B>syncWithManagedTransaction</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#syncWithManagedTransaction()">Broker</A></CODE></B></DD> |
| <DD>Attempt to synchronize with a current managed transaction, returning |
| true if successful, false if no managed transaction is active. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#syncWithManagedTransaction()">syncWithManagedTransaction</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="commitAndResume()"><!-- --></A><H3> |
| commitAndResume</H3> |
| <PRE> |
| public void <B>commitAndResume</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#commitAndResume()">Broker</A></CODE></B></DD> |
| <DD>Issue a commit and then start a new transaction. This is identical to: |
| <pre> broker.commit (); broker.begin (); |
| </pre> except that the broker's internal atomic lock is utilized, |
| so this method can be safely executed from multiple threads. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#commitAndResume()">commitAndResume</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#commit()"><CODE>Broker.commit()</CODE></A>, |
| <A HREF="../../../../org/apache/openjpa/kernel/Broker.html#begin()"><CODE>Broker.begin()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="rollbackAndResume()"><!-- --></A><H3> |
| rollbackAndResume</H3> |
| <PRE> |
| public void <B>rollbackAndResume</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#rollbackAndResume()">Broker</A></CODE></B></DD> |
| <DD>Issue a rollback and then start a new transaction. This is identical to: |
| <pre> broker.rollback (); broker.begin (); |
| </pre> except that the broker's internal atomic lock is utilized, |
| so this method can be safely executed from multiple threads. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#rollbackAndResume()">rollbackAndResume</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#rollback()"><CODE>Broker.rollback()</CODE></A>, |
| <A HREF="../../../../org/apache/openjpa/kernel/Broker.html#begin()"><CODE>Broker.begin()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRollbackOnly()"><!-- --></A><H3> |
| getRollbackOnly</H3> |
| <PRE> |
| public boolean <B>getRollbackOnly</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getRollbackOnly()">Broker</A></CODE></B></DD> |
| <DD>Return whether the current transaction has been marked for rollback. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getRollbackOnly()">getRollbackOnly</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRollbackCause()"><!-- --></A><H3> |
| getRollbackCause</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> <B>getRollbackCause</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getRollbackCause()">Broker</A></CODE></B></DD> |
| <DD>Returns the Throwable that caused the transaction to be |
| marked for rollback. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getRollbackCause()">getRollbackCause</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the Throwable, or null if none was given</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRollbackOnly()"><!-- --></A><H3> |
| setRollbackOnly</H3> |
| <PRE> |
| public void <B>setRollbackOnly</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setRollbackOnly()">Broker</A></CODE></B></DD> |
| <DD>Mark the current transaction for rollback. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setRollbackOnly()">setRollbackOnly</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRollbackOnly(java.lang.Throwable)"><!-- --></A><H3> |
| setRollbackOnly</H3> |
| <PRE> |
| public void <B>setRollbackOnly</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setRollbackOnly(java.lang.Throwable)">Broker</A></CODE></B></DD> |
| <DD>Mark the current transaction for rollback with the specified cause |
| of the rollback. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setRollbackOnly(java.lang.Throwable)">setRollbackOnly</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSavepoint(java.lang.String)"><!-- --></A><H3> |
| setSavepoint</H3> |
| <PRE> |
| public void <B>setSavepoint</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setSavepoint(java.lang.String)">Broker</A></CODE></B></DD> |
| <DD>Set a transactional savepoint where operations after this savepoint |
| will be rolled back. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setSavepoint(java.lang.String)">setSavepoint</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="releaseSavepoint()"><!-- --></A><H3> |
| releaseSavepoint</H3> |
| <PRE> |
| public void <B>releaseSavepoint</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#releaseSavepoint()">Broker</A></CODE></B></DD> |
| <DD>Release the last set savepoint and any resources associated with it. |
| The given savepoint and any set after it will become invalid. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#releaseSavepoint()">releaseSavepoint</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="releaseSavepoint(java.lang.String)"><!-- --></A><H3> |
| releaseSavepoint</H3> |
| <PRE> |
| public void <B>releaseSavepoint</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> savepoint)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#releaseSavepoint(java.lang.String)">Broker</A></CODE></B></DD> |
| <DD>Release the savepoint and any resources associated with it. |
| The given savepoint and any set after it will become invalid. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#releaseSavepoint(java.lang.String)">releaseSavepoint</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="rollbackToSavepoint()"><!-- --></A><H3> |
| rollbackToSavepoint</H3> |
| <PRE> |
| public void <B>rollbackToSavepoint</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#rollbackToSavepoint()">Broker</A></CODE></B></DD> |
| <DD>Rollback the current transaction to the last savepoint. |
| Savepoints set after this one will become invalid. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#rollbackToSavepoint()">rollbackToSavepoint</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="rollbackToSavepoint(java.lang.String)"><!-- --></A><H3> |
| rollbackToSavepoint</H3> |
| <PRE> |
| public void <B>rollbackToSavepoint</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> savepoint)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#rollbackToSavepoint(java.lang.String)">Broker</A></CODE></B></DD> |
| <DD>Rollback the current transaction to the given savepoint name. |
| Savepoints set after this one will become invalid. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#rollbackToSavepoint(java.lang.String)">rollbackToSavepoint</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="flush()"><!-- --></A><H3> |
| flush</H3> |
| <PRE> |
| public void <B>flush</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#flush()">Broker</A></CODE></B></DD> |
| <DD>Flush all transactional instances to the data store. This method may |
| set the rollback only flag on the current transaction if it encounters |
| an error. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#flush()">flush</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="preFlush()"><!-- --></A><H3> |
| preFlush</H3> |
| <PRE> |
| public void <B>preFlush</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#preFlush()">Broker</A></CODE></B></DD> |
| <DD>Run pre-flush actions on transactional objects, including |
| persistence-by-reachability, inverse relationship management, |
| deletion of dependent instances, and instance callbacks. |
| Transaction listeners are not invoked. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#preFlush()">preFlush</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="validateChanges()"><!-- --></A><H3> |
| validateChanges</H3> |
| <PRE> |
| public void <B>validateChanges</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#validateChanges()">Broker</A></CODE></B></DD> |
| <DD>Validate the changes made in this transaction, reporting any optimistic |
| violations, constraint violations, etc. In a datastore transaction or |
| a flushed optimistic transaction, this method will act just like |
| <A HREF="../../../../org/apache/openjpa/kernel/Broker.html#flush()"><CODE>Broker.flush()</CODE></A>. In an optimistic transaction that has not yet begun a |
| datastore-level transaction, however, it will only report exceptions |
| that would occur on flush, without retaining any datastore resources. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#validateChanges()">validateChanges</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isActive()"><!-- --></A><H3> |
| isActive</H3> |
| <PRE> |
| public boolean <B>isActive</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isActive()">StoreContext</A></CODE></B></DD> |
| <DD>Whether a logical transaction is active. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isActive()">isActive</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isStoreActive()"><!-- --></A><H3> |
| isStoreActive</H3> |
| <PRE> |
| public boolean <B>isStoreActive</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isStoreActive()">StoreContext</A></CODE></B></DD> |
| <DD>Whether a data store transaction is active. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isStoreActive()">isStoreActive</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTransactionEnding()"><!-- --></A><H3> |
| isTransactionEnding</H3> |
| <PRE> |
| boolean <B>isTransactionEnding</B>()</PRE> |
| <DL> |
| <DD>Return whether the current transaction is ending, i.e. in the 2nd phase |
| of a commit or rollback |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="beginOperation(boolean)"><!-- --></A><H3> |
| beginOperation</H3> |
| <PRE> |
| public boolean <B>beginOperation</B>(boolean syncTrans)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#beginOperation(boolean)">Broker</A></CODE></B></DD> |
| <DD>Begin a logical operation. This indicates to the broker the |
| granularity of an operation which may require pre/post operation |
| side-effects, such as non-tx detach. |
| Will lock the broker until the <A HREF="../../../../org/apache/openjpa/kernel/Broker.html#endOperation()"><CODE>Broker.endOperation()</CODE></A> is called. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#beginOperation(boolean)">beginOperation</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>syncTrans</CODE> - whether instances may be loaded/modified during |
| this operation requiring a re-check of global tx |
| <DT><B>Returns:</B><DD>whether this is the outermost operation on the stack</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="endOperation()"><!-- --></A><H3> |
| endOperation</H3> |
| <PRE> |
| public boolean <B>endOperation</B>()</PRE> |
| <DL> |
| <DD>Mark the operation over. If outermost caller of stack, returns true |
| and will detach managed instances if necessary. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#endOperation()">endOperation</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>whether this is the outermost operation on the stack</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSynchronization()"><!-- --></A><H3> |
| getSynchronization</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/javax/transaction/Synchronization.html?is-external=true" title="class or interface in javax.transaction">Synchronization</A> <B>getSynchronization</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSynchronization(javax.transaction.Synchronization)"><!-- --></A><H3> |
| setSynchronization</H3> |
| <PRE> |
| public void <B>setSynchronization</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/javax/transaction/Synchronization.html?is-external=true" title="class or interface in javax.transaction">Synchronization</A> sync)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="beforeCompletion()"><!-- --></A><H3> |
| beforeCompletion</H3> |
| <PRE> |
| public void <B>beforeCompletion</B>()</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/javax/transaction/Synchronization.html?is-external=true#beforeCompletion()" title="class or interface in javax.transaction">beforeCompletion</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/javax/transaction/Synchronization.html?is-external=true" title="class or interface in javax.transaction">Synchronization</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="afterCompletion(int)"><!-- --></A><H3> |
| afterCompletion</H3> |
| <PRE> |
| public void <B>afterCompletion</B>(int status)</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/javax/transaction/Synchronization.html?is-external=true#afterCompletion(int)" title="class or interface in javax.transaction">afterCompletion</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/javax/transaction/Synchronization.html?is-external=true" title="class or interface in javax.transaction">Synchronization</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="flush(int)"><!-- --></A><H3> |
| flush</H3> |
| <PRE> |
| protected void <B>flush</B>(int reason)</PRE> |
| <DL> |
| <DD>Flush the transactional state to the data store. Subclasses that |
| customize commit behavior should override this method. The method |
| assumes that the persistence manager is locked, is not closed, |
| and has an active transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>reason</CODE> - one of <A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#FLUSH_INC"><CODE>FLUSH_INC</CODE></A>, <A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#FLUSH_COMMIT"><CODE>FLUSH_COMMIT</CODE></A>, |
| <A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#FLUSH_ROLLBACK"><CODE>FLUSH_ROLLBACK</CODE></A>, or <A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html#FLUSH_LOGICAL"><CODE>FLUSH_LOGICAL</CODE></A><DT><B>Since:</B></DT> |
| <DD>0.2.5</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="endTransaction(int)"><!-- --></A><H3> |
| endTransaction</H3> |
| <PRE> |
| protected void <B>endTransaction</B>(int status)</PRE> |
| <DL> |
| <DD>End the current transaction, making appropriate state transitions. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="persist(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| persist</H3> |
| <PRE> |
| public void <B>persist</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#persist(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Persist the given object. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#persist(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">persist</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="persist(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| persist</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> <B>persist</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#persist(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Make the given instance persistent. Unlike other persist operations, |
| this method does <b>not</b> immediately cascade to fields marked |
| <A HREF="../../../../org/apache/openjpa/meta/ValueMetaData.html#CASCADE_IMMEDIATE"><CODE>ValueMetaData.CASCADE_IMMEDIATE</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#persist(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">persist</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the instance to persist<DD><CODE>id</CODE> - the id to give the state manager; may be null for default |
| <DT><B>Returns:</B><DD>the state manager for the newly persistent instance</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="persistAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| persistAll</H3> |
| <PRE> |
| public void <B>persistAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#persistAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Persist the given objects. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#persistAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">persistAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="persistAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| persistAll</H3> |
| <PRE> |
| public void <B>persistAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| boolean explicit, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Persist the given objects. Indicate whether this was an explicit persist |
| (PNEW) or a provisonal persist (PNEWPROVISIONAL). |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="persist(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| persist</H3> |
| <PRE> |
| public void <B>persist</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| boolean explicit, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Persist the given object. Indicate whether this was an explicit persist |
| (PNEW) or a provisonal persist (PNEWPROVISIONAL) |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="persist(java.lang.Object, java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| persist</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> <B>persist</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| boolean explicit, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Persist the given object. Indicate whether this was an explicit persist |
| (PNEW) or a provisonal persist (PNEWPROVISIONAL). |
| See <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel"><CODE>Broker</CODE></A> for details on this method. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="deleteAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| deleteAll</H3> |
| <PRE> |
| public void <B>deleteAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#deleteAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Delete the given objects. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#deleteAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">deleteAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="delete(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| delete</H3> |
| <PRE> |
| public void <B>delete</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#delete(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Delete the given object. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#delete(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">delete</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="delete(java.lang.Object, org.apache.openjpa.kernel.StateManagerImpl, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| delete</H3> |
| <PRE> |
| void <B>delete</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Internal delete. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="releaseAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| releaseAll</H3> |
| <PRE> |
| public void <B>releaseAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#releaseAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Release the given objects from management. This operation is not |
| recursive. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#releaseAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">releaseAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="release(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| release</H3> |
| <PRE> |
| public void <B>release</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#release(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Release the given object from management. This operation is not |
| recursive. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#release(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">release</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="embed(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.meta.ValueMetaData)"><!-- --></A><H3> |
| embed</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> <B>embed</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> owner, |
| <A HREF="../../../../org/apache/openjpa/meta/ValueMetaData.html" title="interface in org.apache.openjpa.meta">ValueMetaData</A> ownerMeta)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#embed(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.meta.ValueMetaData)">StoreContext</A></CODE></B></DD> |
| <DD>Make the given instance embedded. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#embed(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.meta.ValueMetaData)">embed</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the instance to embed; may be null to create a new instance<DD><CODE>id</CODE> - the id to give the embedded state manager; may be |
| null for default<DD><CODE>owner</CODE> - the owning state manager<DD><CODE>ownerMeta</CODE> - the value in which the object is embedded |
| <DT><B>Returns:</B><DD>the state manager for the embedded instance</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copy(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState)"><!-- --></A><H3> |
| copy</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> <B>copy</B>(<A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> copy, |
| <A HREF="../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</A> state)</PRE> |
| <DL> |
| <DD>If not already cached, create an empty copy of the given state |
| manager in the given state. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="refreshAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| refreshAll</H3> |
| <PRE> |
| public void <B>refreshAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#refreshAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Refresh the state of the given objects. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#refreshAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">refreshAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="refresh(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| refresh</H3> |
| <PRE> |
| public void <B>refresh</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#refresh(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Refresh the state of the given object. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#refresh(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">refresh</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="gatherCascadeRefresh(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| gatherCascadeRefresh</H3> |
| <PRE> |
| void <B>gatherCascadeRefresh</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Gathers all objects reachable through cascade-refresh relations |
| into the operating set. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="refreshInternal(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| refreshInternal</H3> |
| <PRE> |
| protected void <B>refreshInternal</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>This method is called with the full set of objects reachable via |
| cascade-refresh relations from the user-given instances. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="refreshInternal(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| refreshInternal</H3> |
| <PRE> |
| protected void <B>refreshInternal</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Optimization for single-object refresh. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="retrieveAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| retrieveAll</H3> |
| <PRE> |
| public void <B>retrieveAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| boolean dfgOnly, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#retrieveAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">StoreContext</A></CODE></B></DD> |
| <DD>Retrieve the given objects' persistent state. Unmanaged targets are |
| ignored. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#retrieveAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">retrieveAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DD><CODE>dfgOnly</CODE> - indicator as to whether to retrieve only fields<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><CODE>StoreContext.retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| retrieve</H3> |
| <PRE> |
| public void <B>retrieve</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| boolean dfgOnly, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">StoreContext</A></CODE></B></DD> |
| <DD>Immediately load the given object's persistent fields. One might |
| use this action to make sure that an instance's fields are loaded |
| before transitioning it to transient. Note that this action is not |
| recursive. Any related objects that are loaded will not necessarily |
| have their fields loaded. Unmanaged target is ignored. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">retrieve</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DD><CODE>dfgOnly</CODE> - indicator as to whether to retrieve only fields |
| in the current fetch groups, or all fields<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><CODE>StoreContext.retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="evictAll(org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| evictAll</H3> |
| <PRE> |
| public void <B>evictAll</B>(<A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#evictAll(org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Evict all clean objects. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#evictAll(org.apache.openjpa.kernel.OpCallbacks)">evictAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="evictAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| evictAll</H3> |
| <PRE> |
| public void <B>evictAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#evictAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Evict the given objects. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#evictAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">evictAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="evictAll(org.apache.openjpa.kernel.Extent, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| evictAll</H3> |
| <PRE> |
| public void <B>evictAll</B>(<A HREF="../../../../org/apache/openjpa/kernel/Extent.html" title="interface in org.apache.openjpa.kernel">Extent</A> extent, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#evictAll(org.apache.openjpa.kernel.Extent, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Evict all persistent-clean and persistent-nontransactional |
| instances in the given <A HREF="../../../../org/apache/openjpa/kernel/Extent.html" title="interface in org.apache.openjpa.kernel"><CODE>Extent</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#evictAll(org.apache.openjpa.kernel.Extent, org.apache.openjpa.kernel.OpCallbacks)">evictAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="evict(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| evict</H3> |
| <PRE> |
| public void <B>evict</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#evict(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Evict the given object. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#evict(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">evict</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="detach(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| detach</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>detach</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#detach(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Detach the specified object from the broker. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#detach(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">detach</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the instance to detach |
| <DT><B>Returns:</B><DD>the detached instance</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="detachAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| detachAll</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>detachAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#detachAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Detach the specified objects from the broker. The objects returned can |
| be manipulated and re-attached with <A HREF="../../../../org/apache/openjpa/kernel/Broker.html#attachAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)"><CODE>Broker.attachAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)</CODE></A>. The |
| detached instances will be unmanaged copies of the specified parameters, |
| and are suitable for serialization and manipulation outside |
| of a OpenJPA environment. When detaching instances, only fields |
| in the current <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel"><CODE>FetchConfiguration</CODE></A> will be traversed. Thus, |
| to detach a graph of objects, relations to other persistent |
| instances must either be in the <code>default-fetch-group</code>, |
| or in the current custom <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel"><CODE>FetchConfiguration</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#detachAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">detachAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>objs</CODE> - the instances to detach |
| <DT><B>Returns:</B><DD>the detached instances</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="detachAll(org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| detachAll</H3> |
| <PRE> |
| public void <B>detachAll</B>(<A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#detachAll(org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Detach all objects in place. A flush will be performed before |
| detaching the entities. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#detachAll(org.apache.openjpa.kernel.OpCallbacks)">detachAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="detachAll(org.apache.openjpa.kernel.OpCallbacks, boolean)"><!-- --></A><H3> |
| detachAll</H3> |
| <PRE> |
| public void <B>detachAll</B>(<A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call, |
| boolean flush)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#detachAll(org.apache.openjpa.kernel.OpCallbacks, boolean)">Broker</A></CODE></B></DD> |
| <DD>Detach all objects in place, with the option of performing a |
| flush before doing the detachment. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#detachAll(org.apache.openjpa.kernel.OpCallbacks, boolean)">detachAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>call</CODE> - Persistence operation callbacks<DD><CODE>flush</CODE> - boolean value to indicate whether to perform a |
| flush before detaching the entities (true, do the flush; |
| false, don't do the flush)</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="attach(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| attach</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>attach</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| boolean copyNew, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#attach(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Import the specified detached object into the broker. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#attach(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">attach</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>obj</CODE> - instance to import<DD><CODE>copyNew</CODE> - whether to copy new instances |
| <DT><B>Returns:</B><DD>the re-attached instance</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="attachAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| attachAll</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>attachAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| boolean copyNew, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#attachAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Import the specified objects into the broker. Instances that were |
| previously detached from this or another broker will have their |
| changed merged into the persistent instances. Instances that |
| are new will be persisted as new instances. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#attachAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">attachAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>objs</CODE> - array of instances to import<DD><CODE>copyNew</CODE> - whether to copy new instances |
| <DT><B>Returns:</B><DD>the re-attached instances</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nontransactionalAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| nontransactionalAll</H3> |
| <PRE> |
| public void <B>nontransactionalAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#nontransactionalAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">StoreContext</A></CODE></B></DD> |
| <DD>Make the given objects nontransactional. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#nontransactionalAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">nontransactionalAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nontransactional(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| nontransactional</H3> |
| <PRE> |
| public void <B>nontransactional</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#nontransactional(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">StoreContext</A></CODE></B></DD> |
| <DD>Make the given object non-transactional. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#nontransactional(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">nontransactional</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="transactionalAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| transactionalAll</H3> |
| <PRE> |
| public void <B>transactionalAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| boolean updateVersion, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Make the given instances transactional. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#transactionalAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">transactionalAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>objs</CODE> - instances to make transactional<DD><CODE>updateVersion</CODE> - if true, the instance's version will be |
| incremented at the next flush</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="transactional(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| transactional</H3> |
| <PRE> |
| public void <B>transactional</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| boolean updateVersion, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Make the given instances transactional. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#transactional(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">transactional</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>obj</CODE> - instance to make transactional<DD><CODE>updateVersion</CODE> - if true, the instance's version will be |
| incremented at the next flush</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newExtent(java.lang.Class, boolean)"><!-- --></A><H3> |
| newExtent</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/Extent.html" title="interface in org.apache.openjpa.kernel">Extent</A> <B>newExtent</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> type, |
| boolean subclasses)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#newExtent(java.lang.Class, boolean)">Broker</A></CODE></B></DD> |
| <DD>Return an extent of the given class, optionally including subclasses. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#newExtent(java.lang.Class, boolean)">newExtent</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="extentIterator(java.lang.Class, boolean, org.apache.openjpa.kernel.FetchConfiguration, boolean)"><!-- --></A><H3> |
| extentIterator</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A> <B>extentIterator</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> type, |
| boolean subclasses, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| boolean ignoreChanges)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#extentIterator(java.lang.Class, boolean, org.apache.openjpa.kernel.FetchConfiguration, boolean)">StoreContext</A></CODE></B></DD> |
| <DD>Return an iterator over all instances of the given type. The iterator |
| should be closed with <A HREF="../../../../org/apache/openjpa/util/ImplHelper.html#close(java.lang.Object)"><CODE>ImplHelper.close(java.lang.Object)</CODE></A> |
| when no longer needed. This method delegates to |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreManager.html#executeExtent(org.apache.openjpa.meta.ClassMetaData, boolean, org.apache.openjpa.kernel.FetchConfiguration)"><CODE>StoreManager.executeExtent(org.apache.openjpa.meta.ClassMetaData, boolean, org.apache.openjpa.kernel.FetchConfiguration)</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#extentIterator(java.lang.Class, boolean, org.apache.openjpa.kernel.FetchConfiguration, boolean)">extentIterator</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newQuery(java.lang.String, java.lang.Class, java.lang.Object)"><!-- --></A><H3> |
| newQuery</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</A> <B>newQuery</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> lang, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> query)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#newQuery(java.lang.String, java.lang.Class, java.lang.Object)">Broker</A></CODE></B></DD> |
| <DD>Create a new query from the given data, with the given candidate class |
| and language. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#newQuery(java.lang.String, java.lang.Class, java.lang.Object)">newQuery</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newQuery(java.lang.String, java.lang.Object)"><!-- --></A><H3> |
| newQuery</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</A> <B>newQuery</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> lang, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> query)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#newQuery(java.lang.String, java.lang.Object)">Broker</A></CODE></B></DD> |
| <DD>Create a new query in the given language. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#newQuery(java.lang.String, java.lang.Object)">newQuery</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newQueryImpl(java.lang.String, org.apache.openjpa.kernel.StoreQuery)"><!-- --></A><H3> |
| newQueryImpl</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/openjpa/kernel/QueryImpl.html" title="class in org.apache.openjpa.kernel">QueryImpl</A> <B>newQueryImpl</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> lang, |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreQuery.html" title="interface in org.apache.openjpa.kernel">StoreQuery</A> sq)</PRE> |
| <DL> |
| <DD>Create a new query. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getIdentitySequence(org.apache.openjpa.meta.ClassMetaData)"><!-- --></A><H3> |
| getIdentitySequence</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel">Seq</A> <B>getIdentitySequence</B>(<A HREF="../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</A> meta)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getIdentitySequence(org.apache.openjpa.meta.ClassMetaData)">Broker</A></CODE></B></DD> |
| <DD>Returns a <A HREF="../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel"><CODE>Seq</CODE></A> for the datastore identity values of the |
| specified persistent class, or null if the class' identity cannot be |
| represented as a sequence. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getIdentitySequence(org.apache.openjpa.meta.ClassMetaData)">getIdentitySequence</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getValueSequence(org.apache.openjpa.meta.FieldMetaData)"><!-- --></A><H3> |
| getValueSequence</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel">Seq</A> <B>getValueSequence</B>(<A HREF="../../../../org/apache/openjpa/meta/FieldMetaData.html" title="class in org.apache.openjpa.meta">FieldMetaData</A> fmd)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getValueSequence(org.apache.openjpa.meta.FieldMetaData)">Broker</A></CODE></B></DD> |
| <DD>Returns a <A HREF="../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel"><CODE>Seq</CODE></A> for the generated values of the specified |
| field, or null if the field is not generated. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getValueSequence(org.apache.openjpa.meta.FieldMetaData)">getValueSequence</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lock(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| lock</H3> |
| <PRE> |
| public void <B>lock</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#lock(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Ensure that the given instance is locked at the current lock level, as |
| set in the <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel"><CODE>FetchConfiguration</CODE></A> for the broker. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#lock(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">lock</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lock(java.lang.Object, int, int, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| lock</H3> |
| <PRE> |
| public void <B>lock</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| int level, |
| int timeout, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#lock(java.lang.Object, int, int, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Ensure that the given instance is locked at the given lock level. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#lock(java.lang.Object, int, int, org.apache.openjpa.kernel.OpCallbacks)">lock</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to lock<DD><CODE>level</CODE> - the lock level to use<DD><CODE>timeout</CODE> - the number of milliseconds to wait for the lock before |
| giving up, or -1 for no limit</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lockAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| lockAll</H3> |
| <PRE> |
| public void <B>lockAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#lockAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Ensure that the given instances are locked at the current lock level, as |
| set in the <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel"><CODE>FetchConfiguration</CODE></A> for the broker. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#lockAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">lockAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lockAll(java.util.Collection, int, int, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| lockAll</H3> |
| <PRE> |
| public void <B>lockAll</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| int level, |
| int timeout, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#lockAll(java.util.Collection, int, int, org.apache.openjpa.kernel.OpCallbacks)">Broker</A></CODE></B></DD> |
| <DD>Ensure that the given instances are locked at the given lock level. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#lockAll(java.util.Collection, int, int, org.apache.openjpa.kernel.OpCallbacks)">lockAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>objs</CODE> - the objects to lock<DD><CODE>level</CODE> - the lock level to use<DD><CODE>timeout</CODE> - the number of milliseconds to wait for the lock before |
| giving up, or -1 for no limit</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="cancelAll()"><!-- --></A><H3> |
| cancelAll</H3> |
| <PRE> |
| public boolean <B>cancelAll</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#cancelAll()">Broker</A></CODE></B></DD> |
| <DD>Cancel all pending data store statements. If statements are cancelled |
| while a flush is in progress, the transaction rollback only flag will |
| be set. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#cancelAll()">cancelAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if any statements were cancelled, false otherwise</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnection()"><!-- --></A><H3> |
| getConnection</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getConnection</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnection()">StoreContext</A></CODE></B></DD> |
| <DD>Return the connection in use by the context, or a new connection if none. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnection()">getConnection</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="hasConnection()"><!-- --></A><H3> |
| hasConnection</H3> |
| <PRE> |
| public boolean <B>hasConnection</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#hasConnection()">StoreContext</A></CODE></B></DD> |
| <DD>Whether the broker has a dedicated connection based on the configured |
| connection retain mode and transaction status. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#hasConnection()">hasConnection</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getManagedObjects()"><!-- --></A><H3> |
| getManagedObjects</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getManagedObjects</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getManagedObjects()">StoreContext</A></CODE></B></DD> |
| <DD>Return a list of all managed instances. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getManagedObjects()">getManagedObjects</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTransactionalObjects()"><!-- --></A><H3> |
| getTransactionalObjects</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getTransactionalObjects</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getTransactionalObjects()">StoreContext</A></CODE></B></DD> |
| <DD>Return a list of current transaction instances. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getTransactionalObjects()">getTransactionalObjects</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPendingTransactionalObjects()"><!-- --></A><H3> |
| getPendingTransactionalObjects</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getPendingTransactionalObjects</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getPendingTransactionalObjects()">StoreContext</A></CODE></B></DD> |
| <DD>Return a list of instances which will become transactional upon |
| the next transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getPendingTransactionalObjects()">getPendingTransactionalObjects</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDirtyObjects()"><!-- --></A><H3> |
| getDirtyObjects</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getDirtyObjects</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()">StoreContext</A></CODE></B></DD> |
| <DD>Return a list of current dirty instances. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()">getDirtyObjects</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOrderDirtyObjects()"><!-- --></A><H3> |
| getOrderDirtyObjects</H3> |
| <PRE> |
| public boolean <B>getOrderDirtyObjects</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getOrderDirtyObjects()">StoreContext</A></CODE></B></DD> |
| <DD>Whether to maintain the order in which objects are dirtied for |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()"><CODE>StoreContext.getDirtyObjects()</CODE></A>. Default is the store manager's decision. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getOrderDirtyObjects()">getOrderDirtyObjects</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setOrderDirtyObjects(boolean)"><!-- --></A><H3> |
| setOrderDirtyObjects</H3> |
| <PRE> |
| public void <B>setOrderDirtyObjects</B>(boolean order)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setOrderDirtyObjects(boolean)">StoreContext</A></CODE></B></DD> |
| <DD>Whether to maintain the order in which objects are dirtied for |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()"><CODE>StoreContext.getDirtyObjects()</CODE></A>. Default is the store manager's decision. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setOrderDirtyObjects(boolean)">setOrderDirtyObjects</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getManagedStates()"><!-- --></A><H3> |
| getManagedStates</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getManagedStates</B>()</PRE> |
| <DL> |
| <DD>Return a copy of all managed state managers. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTransactionalStates()"><!-- --></A><H3> |
| getTransactionalStates</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A>> <B>getTransactionalStates</B>()</PRE> |
| <DL> |
| <DD>Return a copy of all transactional state managers. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDirtyStates()"><!-- --></A><H3> |
| getDirtyStates</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getDirtyStates</B>()</PRE> |
| <DL> |
| <DD>Return a copy of all dirty state managers. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPendingTransactionalStates()"><!-- --></A><H3> |
| getPendingTransactionalStates</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getPendingTransactionalStates</B>()</PRE> |
| <DL> |
| <DD>Return a copy of all state managers which will become |
| transactional upon the next transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStateManager(java.lang.Object, org.apache.openjpa.kernel.StateManagerImpl, int)"><!-- --></A><H3> |
| setStateManager</H3> |
| <PRE> |
| void <B>setStateManager</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm, |
| int status)</PRE> |
| <DL> |
| <DD>Set the cached StateManager for the instance that had the given oid. |
| This method must not be called multiple times for new instances. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>id</CODE> - the id previously used by the instance<DD><CODE>sm</CODE> - the state manager for the instance; if the state |
| manager is transient, we'll stop managing the instance; |
| if it has updated its oid, we'll re-cache under the new oid<DD><CODE>status</CODE> - one of our STATUS constants describing why we're |
| setting the state manager</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addToTransaction(org.apache.openjpa.kernel.StateManagerImpl)"><!-- --></A><H3> |
| addToTransaction</H3> |
| <PRE> |
| void <B>addToTransaction</B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</PRE> |
| <DL> |
| <DD>Notify the broker that the given state manager should |
| be added to the set of instances involved in the current transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeFromTransaction(org.apache.openjpa.kernel.StateManagerImpl)"><!-- --></A><H3> |
| removeFromTransaction</H3> |
| <PRE> |
| void <B>removeFromTransaction</B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</PRE> |
| <DL> |
| <DD>Notify the persistence manager that the given state manager should |
| be removed from the set of instances involved in the current transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDirty(org.apache.openjpa.kernel.StateManagerImpl, boolean)"><!-- --></A><H3> |
| setDirty</H3> |
| <PRE> |
| void <B>setDirty</B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm, |
| boolean firstDirty)</PRE> |
| <DL> |
| <DD>Notification that the given instance has been dirtied. This |
| notification is given when an object first transitions to a dirty state, |
| and every time the object is modified by the user thereafter. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addToPendingTransaction(org.apache.openjpa.kernel.StateManagerImpl)"><!-- --></A><H3> |
| addToPendingTransaction</H3> |
| <PRE> |
| void <B>addToPendingTransaction</B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</PRE> |
| <DL> |
| <DD>Notify the broker that the given state manager should |
| be added to the set of instances that will become transactional |
| on the next transaction |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeFromPendingTransaction(org.apache.openjpa.kernel.StateManagerImpl)"><!-- --></A><H3> |
| removeFromPendingTransaction</H3> |
| <PRE> |
| void <B>removeFromPendingTransaction</B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</PRE> |
| <DL> |
| <DD>Notify the persistence manager that the given state manager should |
| be removed from the set of instances involved in the next transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addDereferencedDependent(org.apache.openjpa.kernel.StateManagerImpl)"><!-- --></A><H3> |
| addDereferencedDependent</H3> |
| <PRE> |
| void <B>addDereferencedDependent</B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</PRE> |
| <DL> |
| <DD>Add a dereferenced dependent object to the persistence manager's cache. |
| On flush, these objects will be deleted. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeDereferencedDependent(org.apache.openjpa.kernel.StateManagerImpl)"><!-- --></A><H3> |
| removeDereferencedDependent</H3> |
| <PRE> |
| void <B>removeDereferencedDependent</B>(<A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</PRE> |
| <DL> |
| <DD>Remove the given previously dereferenced dependent object from the |
| cache. It is now referenced. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="dirtyType(java.lang.Class)"><!-- --></A><H3> |
| dirtyType</H3> |
| <PRE> |
| public void <B>dirtyType</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#dirtyType(java.lang.Class)">Broker</A></CODE></B></DD> |
| <DD>Mark the given class as dirty within the current transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#dirtyType(java.lang.Class)">dirtyType</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPersistedTypes()"><!-- --></A><H3> |
| getPersistedTypes</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getPersistedTypes</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getPersistedTypes()">StoreContext</A></CODE></B></DD> |
| <DD>Return the set of classes that have been made persistent in the current |
| transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getPersistedTypes()">getPersistedTypes</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getUpdatedTypes()"><!-- --></A><H3> |
| getUpdatedTypes</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getUpdatedTypes</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getUpdatedTypes()">StoreContext</A></CODE></B></DD> |
| <DD>Return the set of classes for objects that have been modified |
| in the current transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getUpdatedTypes()">getUpdatedTypes</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDeletedTypes()"><!-- --></A><H3> |
| getDeletedTypes</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getDeletedTypes</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDeletedTypes()">StoreContext</A></CODE></B></DD> |
| <DD>Return the set of classes that have been deleted in the current |
| transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDeletedTypes()">getDeletedTypes</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isClosed()"><!-- --></A><H3> |
| isClosed</H3> |
| <PRE> |
| public boolean <B>isClosed</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#isClosed()">Broker</A></CODE></B></DD> |
| <DD>Whether the broker is closed. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#isClosed()">isClosed</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isCloseInvoked()"><!-- --></A><H3> |
| isCloseInvoked</H3> |
| <PRE> |
| public boolean <B>isCloseInvoked</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#isCloseInvoked()">Broker</A></CODE></B></DD> |
| <DD>Whether <A HREF="../../../../org/apache/openjpa/kernel/Broker.html#close()"><CODE>Broker.close()</CODE></A> has been invoked, though the broker might |
| remain open until the current managed transaction completes. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#isCloseInvoked()">isCloseInvoked</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="close()"><!-- --></A><H3> |
| close</H3> |
| <PRE> |
| public void <B>close</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#close()">Broker</A></CODE></B></DD> |
| <DD>Close the broker. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#close()">close</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/lib/util/Closeable.html#close()">close</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="free()"><!-- --></A><H3> |
| free</H3> |
| <PRE> |
| protected void <B>free</B>()</PRE> |
| <DL> |
| <DD>Free the resources used by this persistence manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lock()"><!-- --></A><H3> |
| lock</H3> |
| <PRE> |
| public void <B>lock</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#lock()">StoreContext</A></CODE></B></DD> |
| <DD>Synchronizes on an internal lock if the |
| <code>Multithreaded</code> flag is set to true. Make sure to call |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#unlock()"><CODE>StoreContext.unlock()</CODE></A> in a finally clause of the same method. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#lock()">lock</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="unlock()"><!-- --></A><H3> |
| unlock</H3> |
| <PRE> |
| public void <B>unlock</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#unlock()">StoreContext</A></CODE></B></DD> |
| <DD>Releases the internal lock. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#unlock()">unlock</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newInstance(java.lang.Class)"><!-- --></A><H3> |
| newInstance</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>newInstance</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#newInstance(java.lang.Class)">Broker</A></CODE></B></DD> |
| <DD>Create a new instance of type <code>cls</code>. If <code>cls</code> is |
| an interface or an abstract class whose abstract methods follow the |
| JavaBeans convention, this method will create a concrete implementation |
| according to the metadata that defines the class. |
| Otherwise, if <code>cls</code> is a managed type, this will return an |
| instance of the specified class. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#newInstance(java.lang.Class)">newInstance</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getObjectId(java.lang.Object)"><!-- --></A><H3> |
| getObjectId</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getObjectId</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getObjectId(java.lang.Object)">StoreContext</A></CODE></B></DD> |
| <DD>Return the oid of the given instance. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getObjectId(java.lang.Object)">getObjectId</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLockLevel(java.lang.Object)"><!-- --></A><H3> |
| getLockLevel</H3> |
| <PRE> |
| public int <B>getLockLevel</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getLockLevel(java.lang.Object)">StoreContext</A></CODE></B></DD> |
| <DD>Return the lock level of the specified object. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getLockLevel(java.lang.Object)">getLockLevel</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getVersion(java.lang.Object)"><!-- --></A><H3> |
| getVersion</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getVersion</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getVersion(java.lang.Object)">StoreContext</A></CODE></B></DD> |
| <DD>Returns the current version indicator for <code>o</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getVersion(java.lang.Object)">getVersion</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isDirty(java.lang.Object)"><!-- --></A><H3> |
| isDirty</H3> |
| <PRE> |
| public boolean <B>isDirty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isDirty(java.lang.Object)">StoreContext</A></CODE></B></DD> |
| <DD>Return whether the given object is dirty. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isDirty(java.lang.Object)">isDirty</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTransactional(java.lang.Object)"><!-- --></A><H3> |
| isTransactional</H3> |
| <PRE> |
| public boolean <B>isTransactional</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isTransactional(java.lang.Object)">StoreContext</A></CODE></B></DD> |
| <DD>Return whether the given object is transactional. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isTransactional(java.lang.Object)">isTransactional</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isPersistent(java.lang.Object)"><!-- --></A><H3> |
| isPersistent</H3> |
| <PRE> |
| public boolean <B>isPersistent</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isPersistent(java.lang.Object)">StoreContext</A></CODE></B></DD> |
| <DD>Return whether the given object is persistent. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isPersistent(java.lang.Object)">isPersistent</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isNew(java.lang.Object)"><!-- --></A><H3> |
| isNew</H3> |
| <PRE> |
| public boolean <B>isNew</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isNew(java.lang.Object)">StoreContext</A></CODE></B></DD> |
| <DD>Return whether the given object is a newly-created instance registered |
| with <code>broker</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isNew(java.lang.Object)">isNew</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isDeleted(java.lang.Object)"><!-- --></A><H3> |
| isDeleted</H3> |
| <PRE> |
| public boolean <B>isDeleted</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isDeleted(java.lang.Object)">StoreContext</A></CODE></B></DD> |
| <DD>Return whether the given object is deleted. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isDeleted(java.lang.Object)">isDeleted</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isDetached(java.lang.Object)"><!-- --></A><H3> |
| isDetached</H3> |
| <PRE> |
| public boolean <B>isDetached</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#isDetached(java.lang.Object)">Broker</A></CODE></B></DD> |
| <DD>Returns <code>true</code> if <code>obj</code> is a detached object |
| (one that can be reattached to a <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel"><CODE>Broker</CODE></A> via a call to |
| <A HREF="../../../../org/apache/openjpa/kernel/Broker.html#attach(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><CODE>Broker.attach(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)</CODE></A>); otherwise returns <code>false</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#isDetached(java.lang.Object)">isDetached</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStateManager(java.lang.Object)"><!-- --></A><H3> |
| getStateManager</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> <B>getStateManager</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getStateManager(java.lang.Object)">StoreContext</A></CODE></B></DD> |
| <DD>Return the state manager for the given instance. Includes objects |
| made persistent in the current transaction. If <code>obj</code> is not |
| a managed type or is managed by another context, throw an exception. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getStateManager(java.lang.Object)">getStateManager</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStateManagerImpl(java.lang.Object, boolean)"><!-- --></A><H3> |
| getStateManagerImpl</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> <B>getStateManagerImpl</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| boolean assertThisContext)</PRE> |
| <DL> |
| <DD>Return the state manager for the given instance, or null. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>assertThisContext</CODE> - if true, thow an exception if the given |
| object is managed by another broker</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStateManagerImplById(java.lang.Object, boolean)"><!-- --></A><H3> |
| getStateManagerImplById</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> <B>getStateManagerImplById</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| boolean allowNew)</PRE> |
| <DL> |
| <DD>Return the state manager for the given oid. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>allowNew</CODE> - if true, objects made persistent in the current |
| transaction will be included in the search; if |
| multiple new objects match the given oid, it is |
| undefined which will be returned</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="assertPersistenceCapable(java.lang.Object)"><!-- --></A><H3> |
| assertPersistenceCapable</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/openjpa/enhance/PersistenceCapable.html" title="interface in org.apache.openjpa.enhance">PersistenceCapable</A> <B>assertPersistenceCapable</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>Return the given instance as a <A HREF="../../../../org/apache/openjpa/enhance/PersistenceCapable.html" title="interface in org.apache.openjpa.enhance"><CODE>PersistenceCapable</CODE></A>. |
| If the instance is not manageable throw the proper exception. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="assertOpen()"><!-- --></A><H3> |
| assertOpen</H3> |
| <PRE> |
| public void <B>assertOpen</B>()</PRE> |
| <DL> |
| <DD>Throw an exception if the context is closed. The exact message and |
| content of the exception varies whether TRACE is enabled or not. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#assertOpen()">assertOpen</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="assertActiveTransaction()"><!-- --></A><H3> |
| assertActiveTransaction</H3> |
| <PRE> |
| public void <B>assertActiveTransaction</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#assertActiveTransaction()">Broker</A></CODE></B></DD> |
| <DD>Throw an exception if there is no active transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#assertActiveTransaction()">assertActiveTransaction</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="assertNontransactionalRead()"><!-- --></A><H3> |
| assertNontransactionalRead</H3> |
| <PRE> |
| public void <B>assertNontransactionalRead</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#assertNontransactionalRead()">Broker</A></CODE></B></DD> |
| <DD>Throw an exception if there is no transaction active and |
| nontransactional reading is not enabled. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#assertNontransactionalRead()">assertNontransactionalRead</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="assertWriteOperation()"><!-- --></A><H3> |
| assertWriteOperation</H3> |
| <PRE> |
| public void <B>assertWriteOperation</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#assertWriteOperation()">Broker</A></CODE></B></DD> |
| <DD>Throw an exception if a write operation is not permitted (there is |
| no active transaction and nontransactional writing is not enabled). |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#assertWriteOperation()">assertWriteOperation</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="processArgument(java.lang.Object)"><!-- --></A><H3> |
| processArgument</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>processArgument</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html#processArgument(java.lang.Object)">FindCallbacks</A></CODE></B></DD> |
| <DD>Process find argument. Throw proper |
| <A HREF="../../../../org/apache/openjpa/util/OpenJPAException.html" title="class in org.apache.openjpa.util"><CODE>OpenJPAException</CODE></A> for illegal value. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html#processArgument(java.lang.Object)">processArgument</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the id to look up, or null to ignore this argument</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="processReturn(java.lang.Object, org.apache.openjpa.kernel.OpenJPAStateManager)"><!-- --></A><H3> |
| processReturn</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>processReturn</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> sm)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html#processReturn(java.lang.Object, org.apache.openjpa.kernel.OpenJPAStateManager)">FindCallbacks</A></CODE></B></DD> |
| <DD>Process operation return value. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html#processReturn(java.lang.Object, org.apache.openjpa.kernel.OpenJPAStateManager)">processReturn</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the object to return</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isSerializing()"><!-- --></A><H3> |
| isSerializing</H3> |
| <PRE> |
| boolean <B>isSerializing</B>()</PRE> |
| <DL> |
| <DD>Whether or not this broker is in the midst of being serialized. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="assignObjectId(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.StateManagerImpl)"><!-- --></A><H3> |
| assignObjectId</H3> |
| <PRE> |
| protected void <B>assignObjectId</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> cache, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel">StateManagerImpl</A> sm)</PRE> |
| <DL> |
| <DD>Assign the object id to the cache. Exception will be |
| thrown if the id already exists in the cache. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="checkForDuplicateId(java.lang.Object, java.lang.Object)"><!-- --></A><H3> |
| checkForDuplicateId</H3> |
| <PRE> |
| protected void <B>checkForDuplicateId</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>This method makes sure we don't already have the instance cached |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getCachePreparedQuery()"><!-- --></A><H3> |
| getCachePreparedQuery</H3> |
| <PRE> |
| public boolean <B>getCachePreparedQuery</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getCachePreparedQuery()">Broker</A></CODE></B></DD> |
| <DD>Affirms if this receiver is caching prepared queries. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getCachePreparedQuery()">getCachePreparedQuery</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setCachePreparedQuery(boolean)"><!-- --></A><H3> |
| setCachePreparedQuery</H3> |
| <PRE> |
| public void <B>setCachePreparedQuery</B>(boolean flag)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setCachePreparedQuery(boolean)">Broker</A></CODE></B></DD> |
| <DD>Sets whether this receiver will cache prepared queries during its |
| lifetime. The cache configured at BrokerFactory level is not affected by |
| setting it inactive for this receiver. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#setCachePreparedQuery(boolean)">setCachePreparedQuery</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getCacheFinderQuery()"><!-- --></A><H3> |
| getCacheFinderQuery</H3> |
| <PRE> |
| public boolean <B>getCacheFinderQuery</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setCacheFinderQuery(boolean)"><!-- --></A><H3> |
| setCacheFinderQuery</H3> |
| <PRE> |
| public void <B>setCacheFinderQuery</B>(boolean flag)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isFromWriteBehindCallback()"><!-- --></A><H3> |
| isFromWriteBehindCallback</H3> |
| <PRE> |
| public boolean <B>isFromWriteBehindCallback</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionFactoryName()"><!-- --></A><H3> |
| getConnectionFactoryName</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionFactoryName</B>()</PRE> |
| <DL> |
| <DD>Return the 'JTA' connectionFactoryName |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactoryName()">getConnectionFactoryName</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setConnectionFactoryName(java.lang.String)"><!-- --></A><H3> |
| setConnectionFactoryName</H3> |
| <PRE> |
| public void <B>setConnectionFactoryName</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> connectionFactoryName)</PRE> |
| <DL> |
| <DD>Set the 'JTA' ConnectionFactoryName. Input will be trimmed to null before being stored. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setConnectionFactoryName(java.lang.String)">setConnectionFactoryName</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionFactory2Name()"><!-- --></A><H3> |
| getConnectionFactory2Name</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionFactory2Name</B>()</PRE> |
| <DL> |
| <DD>Return the 'NonJTA' ConnectionFactoryName. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactory2Name()">getConnectionFactory2Name</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setConnectionFactory2Name(java.lang.String)"><!-- --></A><H3> |
| setConnectionFactory2Name</H3> |
| <PRE> |
| public void <B>setConnectionFactory2Name</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> connectionFactory2Name)</PRE> |
| <DL> |
| <DD>Set the 'NonJTA' ConnectionFactoryName. Input will be trimmed to null before being stored. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setConnectionFactory2Name(java.lang.String)">setConnectionFactory2Name</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionFactory()"><!-- --></A><H3> |
| getConnectionFactory</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getConnectionFactory</B>()</PRE> |
| <DL> |
| <DD>Return the 'JTA' ConnectionFactory, looking it up from JNDI if needed. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactory()">getConnectionFactory</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the JTA connection factory or null if connectionFactoryName is blank.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionFactory2()"><!-- --></A><H3> |
| getConnectionFactory2</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getConnectionFactory2</B>()</PRE> |
| <DL> |
| <DD>Return the 'NonJTA' ConnectionFactory, looking it up from JNDI if needed. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactory2()">getConnectionFactory2</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the NonJTA connection factory or null if connectionFactoryName is blank.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isCached(java.util.List)"><!-- --></A><H3> |
| isCached</H3> |
| <PRE> |
| public boolean <B>isCached</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> oids)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isCached(java.util.List)">StoreContext</A></CODE></B></DD> |
| <DD>Indicate whether the oid can be found in the StoreContext's L1 cache or in the StoreManager cache. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isCached(java.util.List)">isCached</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>oids</CODE> - List of ObjectIds for PersistenceCapables which may be found in memory. |
| <DT><B>Returns:</B><DD>true if the oid is available in memory (cached) otherwise false.</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BrokerImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/openjpa/kernel/BrokerFactory.html" title="interface in org.apache.openjpa.kernel"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.TransactionalCache.html" title="class in org.apache.openjpa.kernel"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/openjpa/kernel/BrokerImpl.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="BrokerImpl.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2006-2010 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |