<!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_11) on Wed Jul 20 09:13:16 CDT 2011 --> | |
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<TITLE> | |
DelegatingBroker (OpenJPA Parent POM 2.1.1 API) | |
</TITLE> | |
<META NAME="date" CONTENT="2011-07-20"> | |
<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="DelegatingBroker (OpenJPA Parent POM 2.1.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/DelegatingBroker.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/DataCacheStoreMode.html" title="enum in org.apache.openjpa.kernel"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/openjpa/kernel/DelegatingBrokerFactory.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/DelegatingBroker.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="DelegatingBroker.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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: FIELD | <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 DelegatingBroker</H2> | |
<PRE> | |
<A HREF="http://java.sun.com/j2se/6/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.DelegatingBroker</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/6/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/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> | |
<HR> | |
<DL> | |
<DT><PRE>public class <B>DelegatingBroker</B><DT>extends <A HREF="http://java.sun.com/j2se/6/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></DL> | |
</PRE> | |
<P> | |
Delegating broker that can also perform exception translation | |
for use in facades. | |
<P> | |
<P> | |
<DL> | |
<DT><B>Since:</B></DT> | |
<DD>0.4.0</DD> | |
<DT><B>Author:</B></DT> | |
<DD>Abe White</DD> | |
</DL> | |
<HR> | |
<P> | |
<!-- =========== 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> | |
</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/DelegatingBroker.html#DelegatingBroker(org.apache.openjpa.kernel.Broker)">DelegatingBroker</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A> broker)</CODE> | |
<BR> | |
Constructor; supply delegate.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#DelegatingBroker(org.apache.openjpa.kernel.Broker, org.apache.openjpa.util.RuntimeExceptionTranslator)">DelegatingBroker</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A> broker, | |
<A HREF="../../../../org/apache/openjpa/util/RuntimeExceptionTranslator.html" title="interface in org.apache.openjpa.util">RuntimeExceptionTranslator</A> trans)</CODE> | |
<BR> | |
Constructor; supply delegate and exception translator.</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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#addLifecycleListener(java.lang.Object, java.lang.Class[])">addLifecycleListener</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#addTransactionListener(java.lang.Object)">addTransactionListener</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener)</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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.html#assertOpen()">assertOpen</A></B>()</CODE> | |
<BR> | |
Throw an exception if this broker has been closed.</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/DelegatingBroker.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> <A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#attach(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">attach</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/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/DelegatingBroker.html#attachAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">attachAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.html#beginOperation(boolean)">beginOperation</A></B>(boolean read)</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/DelegatingBroker.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/DelegatingBroker.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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#delete(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">delete</A></B>(<A HREF="http://java.sun.com/j2se/6/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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#deleteAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">deleteAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/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/DelegatingBroker.html#detach(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">detach</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/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/DelegatingBroker.html#detachAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">detachAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.html#dirtyType(java.lang.Class)">dirtyType</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/6/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/6/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/DelegatingBroker.html#endOperation()">endOperation</A></B>()</CODE> | |
<BR> | |
End a logical operation.</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/DelegatingBroker.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</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/DelegatingBroker.html#evict(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">evict</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#evictAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">evictAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/DelegatingBroker.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/6/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/DelegatingBroker.html#extentIterator(java.lang.Class, boolean, org.apache.openjpa.kernel.FetchConfiguration, boolean)">extentIterator</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls, | |
boolean subs, | |
<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/6/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/DelegatingBroker.html#find(java.lang.Object, boolean, org.apache.openjpa.kernel.FindCallbacks)">find</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/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/DelegatingBroker.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/6/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/6/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/6/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> <A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#findAll(java.util.Collection, boolean, org.apache.openjpa.kernel.FindCallbacks)">findAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/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/DelegatingBroker.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/6/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/6/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/6/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> <A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#findCached(java.lang.Object, org.apache.openjpa.kernel.FindCallbacks)">findCached</A></B>(<A HREF="http://java.sun.com/j2se/6/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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.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> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#getAllowReferenceToSiblingContext()">getAllowReferenceToSiblingContext</A></B>()</CODE> | |
<BR> | |
Affirms if this context will allow its managed instances to refer instances | |
that are managed by other contexts.</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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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/6/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/DelegatingBroker.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/DelegatingBroker.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/6/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/DelegatingBroker.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/6/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/DelegatingBroker.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/6/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/DelegatingBroker.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/6/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/DelegatingBroker.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/6/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/DelegatingBroker.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/6/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/DelegatingBroker.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/DelegatingBroker.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/6/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/DelegatingBroker.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="../../../../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/DelegatingBroker.html#getDelegate()">getDelegate</A></B>()</CODE> | |
<BR> | |
Return the direct delegate.</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/6/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/DelegatingBroker.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/DelegatingBroker.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/6/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/DelegatingBroker.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> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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> <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/DelegatingBroker.html#getInnermostDelegate()">getInnermostDelegate</A></B>()</CODE> | |
<BR> | |
Return the native delegate.</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/DelegatingBroker.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/DelegatingBroker.html#getLifecycleEventManager()">getLifecycleEventManager</A></B>()</CODE> | |
<BR> | |
Return the lifecycle event manager associated with the broker.</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/DelegatingBroker.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/DelegatingBroker.html#getLockLevel(java.lang.Object)">getLockLevel</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</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/DelegatingBroker.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/6/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/DelegatingBroker.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/DelegatingBroker.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> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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/6/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/DelegatingBroker.html#getObjectId(java.lang.Object)">getObjectId</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/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/DelegatingBroker.html#getObjectIdType(java.lang.Class)">getObjectIdType</A></B>(<A HREF="http://java.sun.com/j2se/6/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> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.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/DelegatingBroker.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/6/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/DelegatingBroker.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> <A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/DelegatingBroker.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/6/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/6/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/6/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/DelegatingBroker.html#getProperties()">getProperties</A></B>()</CODE> | |
<BR> | |
Retrieve the current properties for this broker Some of these properties | |
may have been changed from the original configuration.</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/DelegatingBroker.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/DelegatingBroker.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/6/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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.html#getStateManager(java.lang.Object)">getStateManager</A></B>(<A HREF="http://java.sun.com/j2se/6/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> <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/DelegatingBroker.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/6/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/6/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/DelegatingBroker.html#getSupportedProperties()">getSupportedProperties</A></B>()</CODE> | |
<BR> | |
Return the supported properties for this broker as property keys.</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/DelegatingBroker.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/6/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/DelegatingBroker.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> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.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/6/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/6/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/DelegatingBroker.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/6/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/DelegatingBroker.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/6/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/DelegatingBroker.html#getUserObject(java.lang.Object)">getUserObject</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/6/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/DelegatingBroker.html#getVersion(java.lang.Object)">getVersion</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#hashCode()">hashCode</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/DelegatingBroker.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/DelegatingBroker.html#isCached(java.util.List)">isCached</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> oid)</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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.html#isDeleted(java.lang.Object)">isDeleted</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#isDetached(java.lang.Object)">isDetached</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/DelegatingBroker.html#isDirty(java.lang.Object)">isDirty</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/DelegatingBroker.html#isNew(java.lang.Object)">isNew</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#isPersistent(java.lang.Object)">isPersistent</A></B>(<A HREF="http://java.sun.com/j2se/6/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> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.html#isTransactional(java.lang.Object)">isTransactional</A></B>(<A HREF="http://java.sun.com/j2se/6/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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.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/DelegatingBroker.html#lock(java.lang.Object, int, int, org.apache.openjpa.kernel.OpCallbacks)">lock</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#lock(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">lock</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#lockAll(java.util.Collection, int, int, org.apache.openjpa.kernel.OpCallbacks)">lockAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#lockAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">lockAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#newExtent(java.lang.Class, boolean)">newExtent</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls, | |
boolean subs)</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/6/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/DelegatingBroker.html#newInstance(java.lang.Class)">newInstance</A></B>(<A HREF="http://java.sun.com/j2se/6/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> <A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#newObjectId(java.lang.Class, java.lang.Object)">newObjectId</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/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/DelegatingBroker.html#newQuery(java.lang.String, java.lang.Class, java.lang.Object)">newQuery</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> language, | |
<A HREF="http://java.sun.com/j2se/6/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/6/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/DelegatingBroker.html#newQuery(java.lang.String, java.lang.Object)">newQuery</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> language, | |
<A HREF="http://java.sun.com/j2se/6/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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#nontransactional(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">nontransactional</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, | |
<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/DelegatingBroker.html#nontransactionalAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">nontransactionalAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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> <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/DelegatingBroker.html#persist(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">persist</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/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/DelegatingBroker.html#persist(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">persist</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#persistAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">persistAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/DelegatingBroker.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="../../../../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/DelegatingBroker.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="../../../../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/DelegatingBroker.html#pushFetchConfiguration(org.apache.openjpa.kernel.FetchConfiguration)">pushFetchConfiguration</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fc)</CODE> | |
<BR> | |
Pushes the fetch configuration argument 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/6/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/DelegatingBroker.html#putUserObject(java.lang.Object, java.lang.Object)">putUserObject</A></B>(<A HREF="http://java.sun.com/j2se/6/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/6/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/DelegatingBroker.html#refresh(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">refresh</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#refreshAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">refreshAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#release(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">release</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#releaseAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">releaseAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/DelegatingBroker.html#releaseSavepoint(java.lang.String)">releaseSavepoint</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#removeLifecycleListener(java.lang.Object)">removeLifecycleListener</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#removeTransactionListener(java.lang.Object)">removeTransactionListener</A></B>(<A HREF="http://java.sun.com/j2se/6/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 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/DelegatingBroker.html#retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">retrieve</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, | |
boolean fgOnly, | |
<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/DelegatingBroker.html#retrieveAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">retrieveAll</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, | |
boolean fgOnly, | |
<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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.html#rollbackToSavepoint(java.lang.String)">rollbackToSavepoint</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</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/DelegatingBroker.html#setAllowReferenceToSiblingContext(boolean)">setAllowReferenceToSiblingContext</A></B>(boolean allow)</CODE> | |
<BR> | |
Affirms if this context will allow its managed instances to refer instances | |
that are managed by other contexts.</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/DelegatingBroker.html#setAutoClear(int)">setAutoClear</A></B>(int clear)</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/DelegatingBroker.html#setAutoDetach(int)">setAutoDetach</A></B>(int flags)</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/DelegatingBroker.html#setAutoDetach(int, boolean)">setAutoDetach</A></B>(int flag, | |
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/DelegatingBroker.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/DelegatingBroker.html#setConnectionFactory2Name(java.lang.String)">setConnectionFactory2Name</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#setConnectionFactoryName(java.lang.String)">setConnectionFactoryName</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.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/DelegatingBroker.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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.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/DelegatingBroker.html#setIgnoreChanges(boolean)">setIgnoreChanges</A></B>(boolean ignore)</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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.html#setMultithreaded(boolean)">setMultithreaded</A></B>(boolean multi)</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/DelegatingBroker.html#setNontransactionalRead(boolean)">setNontransactionalRead</A></B>(boolean read)</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/DelegatingBroker.html#setNontransactionalWrite(boolean)">setNontransactionalWrite</A></B>(boolean write)</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/DelegatingBroker.html#setOptimistic(boolean)">setOptimistic</A></B>(boolean opt)</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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.html#setRestoreState(int)">setRestoreState</A></B>(int restore)</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/DelegatingBroker.html#setRetainState(boolean)">setRetainState</A></B>(boolean retain)</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/DelegatingBroker.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/DelegatingBroker.html#setRollbackOnly(java.lang.Throwable)">setRollbackOnly</A></B>(<A HREF="http://java.sun.com/j2se/6/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/DelegatingBroker.html#setSavepoint(java.lang.String)">setSavepoint</A></B>(<A HREF="http://java.sun.com/j2se/6/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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.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/DelegatingBroker.html#transactional(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">transactional</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, | |
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 object 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/DelegatingBroker.html#transactionalAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">transactionalAll</A></B>(<A HREF="http://java.sun.com/j2se/6/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 objects transactional.</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/6/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#translate(java.lang.RuntimeException)">translate</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</A> re)</CODE> | |
<BR> | |
Translate the OpenJPA exception.</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/6/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html#translate(java.lang.RuntimeException, java.lang.Object)">translate</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</A> re, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> failed)</CODE> | |
<BR> | |
Translate the exception with the failed 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/DelegatingBroker.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/DelegatingBroker.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/6/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/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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> | |
<!-- ========= 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="DelegatingBroker(org.apache.openjpa.kernel.Broker)"><!-- --></A><H3> | |
DelegatingBroker</H3> | |
<PRE> | |
public <B>DelegatingBroker</B>(<A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A> broker)</PRE> | |
<DL> | |
<DD>Constructor; supply delegate. | |
<P> | |
</DL> | |
<HR> | |
<A NAME="DelegatingBroker(org.apache.openjpa.kernel.Broker, org.apache.openjpa.util.RuntimeExceptionTranslator)"><!-- --></A><H3> | |
DelegatingBroker</H3> | |
<PRE> | |
public <B>DelegatingBroker</B>(<A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A> broker, | |
<A HREF="../../../../org/apache/openjpa/util/RuntimeExceptionTranslator.html" title="interface in org.apache.openjpa.util">RuntimeExceptionTranslator</A> trans)</PRE> | |
<DL> | |
<DD>Constructor; supply delegate and exception translator. | |
<P> | |
</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="getDelegate()"><!-- --></A><H3> | |
getDelegate</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A> <B>getDelegate</B>()</PRE> | |
<DL> | |
<DD>Return the direct delegate. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getInnermostDelegate()"><!-- --></A><H3> | |
getInnermostDelegate</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A> <B>getInnermostDelegate</B>()</PRE> | |
<DL> | |
<DD>Return the native delegate. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="hashCode()"><!-- --></A><H3> | |
hashCode</H3> | |
<PRE> | |
public int <B>hashCode</B>()</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="equals(java.lang.Object)"><!-- --></A><H3> | |
equals</H3> | |
<PRE> | |
public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="translate(java.lang.RuntimeException)"><!-- --></A><H3> | |
translate</H3> | |
<PRE> | |
protected <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</A> <B>translate</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</A> re)</PRE> | |
<DL> | |
<DD>Translate the OpenJPA exception. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="translate(java.lang.RuntimeException, java.lang.Object)"><!-- --></A><H3> | |
translate</H3> | |
<PRE> | |
protected <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</A> <B>translate</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</A> re, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> failed)</PRE> | |
<DL> | |
<DD>Translate the exception with the failed object. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>re</CODE> - exception raised by the delegate.<DD><CODE>failed</CODE> - the context that failed. | |
<DT><B>Returns:</B><DD>the translated exception. If the given input exception had not set | |
the failed instance, then sets the given instance as the failed context.</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="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="pushFetchConfiguration(org.apache.openjpa.kernel.FetchConfiguration)"><!-- --></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>(<A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fc)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#pushFetchConfiguration(org.apache.openjpa.kernel.FetchConfiguration)">StoreContext</A></CODE></B></DD> | |
<DD>Pushes the fetch configuration argument 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(org.apache.openjpa.kernel.FetchConfiguration)">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="getClassLoader()"><!-- --></A><H3> | |
getClassLoader</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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="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="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="getConnectionUserName()"><!-- --></A><H3> | |
getConnectionUserName</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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="getProperties()"><!-- --></A><H3> | |
getProperties</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getProperties</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getProperties()">Broker</A></CODE></B></DD> | |
<DD>Retrieve the current properties for this broker Some of these properties | |
may have been changed from the original configuration. | |
<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/6/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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getSupportedProperties</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getSupportedProperties()">Broker</A></CODE></B></DD> | |
<DD>Return the supported properties for this broker as property keys. If a | |
property has multiple keys, all keys will be returned. | |
<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="find(java.lang.Object, boolean, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> | |
find</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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="findAll(java.util.Collection, boolean, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> | |
findAll</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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="findCached(java.lang.Object, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> | |
findCached</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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="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/6/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/6/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/6/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/6/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="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/6/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/6/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/6/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/6/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="extentIterator(java.lang.Class, boolean, org.apache.openjpa.kernel.FetchConfiguration, boolean)"><!-- --></A><H3> | |
extentIterator</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls, | |
boolean subs, | |
<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="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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, | |
boolean fgOnly, | |
<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>fgOnly</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="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/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, | |
boolean fgOnly, | |
<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>fgOnly</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="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/6/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/6/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="getObjectIdType(java.lang.Class)"><!-- --></A><H3> | |
getObjectIdType</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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/6/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/6/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/6/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="getManagedObjects()"><!-- --></A><H3> | |
getManagedObjects</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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/6/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/6/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="getPersistedTypes()"><!-- --></A><H3> | |
getPersistedTypes</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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/6/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="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/6/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="getLockLevel(java.lang.Object)"><!-- --></A><H3> | |
getLockLevel</H3> | |
<PRE> | |
public int <B>getLockLevel</B>(<A HREF="http://java.sun.com/j2se/6/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#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/6/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/6/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/6/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/6/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/6/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/6/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/6/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="getObjectId(java.lang.Object)"><!-- --></A><H3> | |
getObjectId</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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="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="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="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="getConnection()"><!-- --></A><H3> | |
getConnection</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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="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="beginOperation(boolean)"><!-- --></A><H3> | |
beginOperation</H3> | |
<PRE> | |
public boolean <B>beginOperation</B>(boolean read)</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>read</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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#endOperation()">Broker</A></CODE></B></DD> | |
<DD>End 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. Unlocks the given broker. | |
<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="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="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="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="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="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="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 multi)</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 ignore)</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 read)</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 write)</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="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 restore)</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="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 opt)</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="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 retain)</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 clear)</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 flags)</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 flag, | |
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="putUserObject(java.lang.Object, java.lang.Object)"><!-- --></A><H3> | |
putUserObject</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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/6/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="getUserObject(java.lang.Object)"><!-- --></A><H3> | |
getUserObject</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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="addTransactionListener(java.lang.Object)"><!-- --></A><H3> | |
addTransactionListener</H3> | |
<PRE> | |
public void <B>addTransactionListener</B>(<A HREF="http://java.sun.com/j2se/6/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#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/6/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#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/6/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/6/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="addLifecycleListener(java.lang.Object, java.lang.Class[])"><!-- --></A><H3> | |
addLifecycleListener</H3> | |
<PRE> | |
public void <B>addLifecycleListener</B>(<A HREF="http://java.sun.com/j2se/6/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/6/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/6/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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#getLifecycleEventManager()">Broker</A></CODE></B></DD> | |
<DD>Return the lifecycle event manager associated with the broker. | |
<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="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="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="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/6/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="getRollbackCause()"><!-- --></A><H3> | |
getRollbackCause</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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="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="setSavepoint(java.lang.String)"><!-- --></A><H3> | |
setSavepoint</H3> | |
<PRE> | |
public void <B>setSavepoint</B>(<A HREF="http://java.sun.com/j2se/6/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="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/6/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#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="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/6/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#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="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="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="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/6/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="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/6/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="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/6/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/6/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="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/6/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="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/6/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="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/6/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="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/6/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="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/6/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="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/6/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="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/6/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="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/6/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.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(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="detach(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> | |
detach</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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="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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, | |
boolean updateVersion, | |
<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#transactional(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">StoreContext</A></CODE></B></DD> | |
<DD>Make the given object 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>pc</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="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/6/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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#transactionalAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">StoreContext</A></CODE></B></DD> | |
<DD>Make the given objects 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="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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, | |
<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="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/6/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="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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls, | |
boolean subs)</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="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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> language, | |
<A HREF="http://java.sun.com/j2se/6/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/6/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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> language, | |
<A HREF="http://java.sun.com/j2se/6/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="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, int, int, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> | |
lock</H3> | |
<PRE> | |
public void <B>lock</B>(<A HREF="http://java.sun.com/j2se/6/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="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/6/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="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/6/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="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/6/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="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="dirtyType(java.lang.Class)"><!-- --></A><H3> | |
dirtyType</H3> | |
<PRE> | |
public void <B>dirtyType</B>(<A HREF="http://java.sun.com/j2se/6/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="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="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="assertOpen()"><!-- --></A><H3> | |
assertOpen</H3> | |
<PRE> | |
public void <B>assertOpen</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/Broker.html#assertOpen()">Broker</A></CODE></B></DD> | |
<DD>Throw an exception if this broker has been closed. | |
<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="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/6/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/6/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/6/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/6/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="newInstance(java.lang.Class)"><!-- --></A><H3> | |
newInstance</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/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/6/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="isDetached(java.lang.Object)"><!-- --></A><H3> | |
isDetached</H3> | |
<PRE> | |
public boolean <B>isDetached</B>(<A HREF="http://java.sun.com/j2se/6/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="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="getConnectionFactoryName()"><!-- --></A><H3> | |
getConnectionFactoryName</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionFactoryName</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactoryName()">StoreContext</A></CODE></B></DD> | |
<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> connectionFactoryName)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setConnectionFactoryName(java.lang.String)">StoreContext</A></CODE></B></DD> | |
<DD>Set the 'JTA' ConnectionFactoryName. | |
<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionFactory2Name</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactory2Name()">StoreContext</A></CODE></B></DD> | |
<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> connectionFactory2Name)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setConnectionFactory2Name(java.lang.String)">StoreContext</A></CODE></B></DD> | |
<DD>Set the 'NonJTA' ConnectionFactoryName. | |
<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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getConnectionFactory</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactory()">StoreContext</A></CODE></B></DD> | |
<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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getConnectionFactory2</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactory2()">StoreContext</A></CODE></B></DD> | |
<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/6/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/6/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/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>oid</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> | |
<HR> | |
<A NAME="getAllowReferenceToSiblingContext()"><!-- --></A><H3> | |
getAllowReferenceToSiblingContext</H3> | |
<PRE> | |
public boolean <B>getAllowReferenceToSiblingContext</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getAllowReferenceToSiblingContext()">StoreContext</A></CODE></B></DD> | |
<DD>Affirms if this context will allow its managed instances to refer instances | |
that are managed by other contexts. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getAllowReferenceToSiblingContext()">getAllowReferenceToSiblingContext</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>false by default.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setAllowReferenceToSiblingContext(boolean)"><!-- --></A><H3> | |
setAllowReferenceToSiblingContext</H3> | |
<PRE> | |
public void <B>setAllowReferenceToSiblingContext</B>(boolean allow)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setAllowReferenceToSiblingContext(boolean)">StoreContext</A></CODE></B></DD> | |
<DD>Affirms if this context will allow its managed instances to refer instances | |
that are managed by other contexts. | |
<B>Note</B>: Some specification (such as JPA) does not warranty predictable | |
behavior when strict group-like property of a persistent context (where managed | |
instances can only refer to instances managed by the <em>same</em> context). | |
Please be aware of consequences when the flag is set to true. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setAllowReferenceToSiblingContext(boolean)">setAllowReferenceToSiblingContext</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> | |
<!-- ========= 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/DelegatingBroker.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/DataCacheStoreMode.html" title="enum in org.apache.openjpa.kernel"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/openjpa/kernel/DelegatingBrokerFactory.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/DelegatingBroker.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="DelegatingBroker.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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: FIELD | <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-2011 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. | |
</BODY> | |
</HTML> |