blob: c4a646b30ba24fab7e39c944c838ef220c74c0f9 [file] [log] [blame]
<!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_22) on Wed Feb 16 14:01:43 CST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
PersistenceListenerAdapter (OpenJPA Parent POM 2.1.0 API)
</TITLE>
<META NAME="date" CONTENT="2011-02-16">
<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="PersistenceListenerAdapter (OpenJPA Parent POM 2.1.0 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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PersistenceListenerAdapter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/openjpa/persistence/PersistenceExceptions.html" title="class in org.apache.openjpa.persistence"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/openjpa/persistence/PersistenceMetaDataDefaults.html" title="class in org.apache.openjpa.persistence"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/openjpa/persistence/PersistenceListenerAdapter.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="PersistenceListenerAdapter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.persistence</FONT>
<BR>
Class PersistenceListenerAdapter</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.persistence.PersistenceListenerAdapter</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/openjpa/event/DeleteListener.html" title="interface in org.apache.openjpa.event">DeleteListener</A>, <A HREF="../../../../org/apache/openjpa/event/LifecycleEventManager.ListenerAdapter.html" title="interface in org.apache.openjpa.event">LifecycleEventManager.ListenerAdapter</A>, <A HREF="../../../../org/apache/openjpa/event/LoadListener.html" title="interface in org.apache.openjpa.event">LoadListener</A>, <A HREF="../../../../org/apache/openjpa/event/PersistListener.html" title="interface in org.apache.openjpa.event">PersistListener</A>, <A HREF="../../../../org/apache/openjpa/event/PostDeleteListener.html" title="interface in org.apache.openjpa.event">PostDeleteListener</A>, <A HREF="../../../../org/apache/openjpa/event/PostPersistListener.html" title="interface in org.apache.openjpa.event">PostPersistListener</A>, <A HREF="../../../../org/apache/openjpa/event/UpdateListener.html" title="interface in org.apache.openjpa.event">UpdateListener</A></DD>
</DL>
<HR>
<DL>
<DT><PRE> class <B>PersistenceListenerAdapter</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/event/LifecycleEventManager.ListenerAdapter.html" title="interface in org.apache.openjpa.event">LifecycleEventManager.ListenerAdapter</A>, <A HREF="../../../../org/apache/openjpa/event/PersistListener.html" title="interface in org.apache.openjpa.event">PersistListener</A>, <A HREF="../../../../org/apache/openjpa/event/PostPersistListener.html" title="interface in org.apache.openjpa.event">PostPersistListener</A>, <A HREF="../../../../org/apache/openjpa/event/LoadListener.html" title="interface in org.apache.openjpa.event">LoadListener</A>, <A HREF="../../../../org/apache/openjpa/event/UpdateListener.html" title="interface in org.apache.openjpa.event">UpdateListener</A>, <A HREF="../../../../org/apache/openjpa/event/DeleteListener.html" title="interface in org.apache.openjpa.event">DeleteListener</A>, <A HREF="../../../../org/apache/openjpa/event/PostDeleteListener.html" title="interface in org.apache.openjpa.event">PostDeleteListener</A></DL>
</PRE>
<P>
<HR>
<P>
<!-- ======== 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/persistence/PersistenceListenerAdapter.html#PersistenceListenerAdapter(java.util.Collection[])">PersistenceListenerAdapter</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>&lt;<A HREF="../../../../org/apache/openjpa/event/LifecycleCallbacks.html" title="interface in org.apache.openjpa.event">LifecycleCallbacks</A>&gt;[]&nbsp;calls)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#PersistenceListenerAdapter(org.apache.openjpa.event.LifecycleCallbacks[][])">PersistenceListenerAdapter</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleCallbacks.html" title="interface in org.apache.openjpa.event">LifecycleCallbacks</A>[][]&nbsp;callbacks)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#afterDelete(org.apache.openjpa.event.LifecycleEvent)">afterDelete</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked after the instance transferred to a deleted state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#afterDeletePerformed(org.apache.openjpa.event.LifecycleEvent)">afterDeletePerformed</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Receives notifications before an update is performed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#afterLoad(org.apache.openjpa.event.LifecycleEvent)">afterLoad</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked after state has been loaded into the instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#afterPersist(org.apache.openjpa.event.LifecycleEvent)">afterPersist</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked when an instance is persisted.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#afterPersistPerformed(org.apache.openjpa.event.LifecycleEvent)">afterPersistPerformed</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Receives notifications after a persist operation has been written to the
data store.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#afterRefresh(org.apache.openjpa.event.LifecycleEvent)">afterRefresh</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked after state has been refreshed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#afterUpdatePerformed(org.apache.openjpa.event.LifecycleEvent)">afterUpdatePerformed</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Receives notifications before an update is performed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#beforeDelete(org.apache.openjpa.event.LifecycleEvent)">beforeDelete</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked before the instance transferred to a deleted state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#beforePersist(org.apache.openjpa.event.LifecycleEvent)">beforePersist</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked before an instance is persisted.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#beforeUpdate(org.apache.openjpa.event.LifecycleEvent)">beforeUpdate</A></B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Receives notifications before an update is performed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/PersistenceListenerAdapter.html#respondsTo(int)">respondsTo</A></B>(int&nbsp;eventType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return whether this instance responds to the given event type from
<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event"><CODE>LifecycleEvent</CODE></A>.</TD>
</TR>
</TABLE>
&nbsp;<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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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>
&nbsp;
<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="PersistenceListenerAdapter(org.apache.openjpa.event.LifecycleCallbacks[][])"><!-- --></A><H3>
PersistenceListenerAdapter</H3>
<PRE>
public <B>PersistenceListenerAdapter</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleCallbacks.html" title="interface in org.apache.openjpa.event">LifecycleCallbacks</A>[][]&nbsp;callbacks)</PRE>
<DL>
</DL>
<HR>
<A NAME="PersistenceListenerAdapter(java.util.Collection[])"><!-- --></A><H3>
PersistenceListenerAdapter</H3>
<PRE>
public <B>PersistenceListenerAdapter</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>&lt;<A HREF="../../../../org/apache/openjpa/event/LifecycleCallbacks.html" title="interface in org.apache.openjpa.event">LifecycleCallbacks</A>&gt;[]&nbsp;calls)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="respondsTo(int)"><!-- --></A><H3>
respondsTo</H3>
<PRE>
public boolean <B>respondsTo</B>(int&nbsp;eventType)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/LifecycleEventManager.ListenerAdapter.html#respondsTo(int)">LifecycleEventManager.ListenerAdapter</A></CODE></B></DD>
<DD>Return whether this instance responds to the given event type from
<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event"><CODE>LifecycleEvent</CODE></A>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/LifecycleEventManager.ListenerAdapter.html#respondsTo(int)">respondsTo</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/LifecycleEventManager.ListenerAdapter.html" title="interface in org.apache.openjpa.event">LifecycleEventManager.ListenerAdapter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="beforePersist(org.apache.openjpa.event.LifecycleEvent)"><!-- --></A><H3>
beforePersist</H3>
<PRE>
public void <B>beforePersist</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/PersistListener.html#beforePersist(org.apache.openjpa.event.LifecycleEvent)">PersistListener</A></CODE></B></DD>
<DD>Invoked before an instance is persisted.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/PersistListener.html#beforePersist(org.apache.openjpa.event.LifecycleEvent)">beforePersist</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/PersistListener.html" title="interface in org.apache.openjpa.event">PersistListener</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="afterPersist(org.apache.openjpa.event.LifecycleEvent)"><!-- --></A><H3>
afterPersist</H3>
<PRE>
public void <B>afterPersist</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/PersistListener.html#afterPersist(org.apache.openjpa.event.LifecycleEvent)">PersistListener</A></CODE></B></DD>
<DD>Invoked when an instance is persisted.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/PersistListener.html#afterPersist(org.apache.openjpa.event.LifecycleEvent)">afterPersist</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/PersistListener.html" title="interface in org.apache.openjpa.event">PersistListener</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="afterPersistPerformed(org.apache.openjpa.event.LifecycleEvent)"><!-- --></A><H3>
afterPersistPerformed</H3>
<PRE>
public void <B>afterPersistPerformed</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/PostPersistListener.html#afterPersistPerformed(org.apache.openjpa.event.LifecycleEvent)">PostPersistListener</A></CODE></B></DD>
<DD>Receives notifications after a persist operation has been written to the
data store. Differs from <A HREF="../../../../org/apache/openjpa/event/PersistListener.html#afterPersist(org.apache.openjpa.event.LifecycleEvent)"><CODE>PersistListener.afterPersist(org.apache.openjpa.event.LifecycleEvent)</CODE></A> in that
the latter is called at the end of the persist() operation itself, not
after the flush.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/PostPersistListener.html#afterPersistPerformed(org.apache.openjpa.event.LifecycleEvent)">afterPersistPerformed</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/PostPersistListener.html" title="interface in org.apache.openjpa.event">PostPersistListener</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="afterLoad(org.apache.openjpa.event.LifecycleEvent)"><!-- --></A><H3>
afterLoad</H3>
<PRE>
public void <B>afterLoad</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/LoadListener.html#afterLoad(org.apache.openjpa.event.LifecycleEvent)">LoadListener</A></CODE></B></DD>
<DD>Invoked after state has been loaded into the instance.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/LoadListener.html#afterLoad(org.apache.openjpa.event.LifecycleEvent)">afterLoad</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/LoadListener.html" title="interface in org.apache.openjpa.event">LoadListener</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="afterRefresh(org.apache.openjpa.event.LifecycleEvent)"><!-- --></A><H3>
afterRefresh</H3>
<PRE>
public void <B>afterRefresh</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/LoadListener.html#afterRefresh(org.apache.openjpa.event.LifecycleEvent)">LoadListener</A></CODE></B></DD>
<DD>Invoked after state has been refreshed.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/LoadListener.html#afterRefresh(org.apache.openjpa.event.LifecycleEvent)">afterRefresh</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/LoadListener.html" title="interface in org.apache.openjpa.event">LoadListener</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="beforeUpdate(org.apache.openjpa.event.LifecycleEvent)"><!-- --></A><H3>
beforeUpdate</H3>
<PRE>
public void <B>beforeUpdate</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/UpdateListener.html#beforeUpdate(org.apache.openjpa.event.LifecycleEvent)">UpdateListener</A></CODE></B></DD>
<DD>Receives notifications before an update is performed. Differs from
<A HREF="../../../../org/apache/openjpa/event/StoreListener.html#beforeStore(org.apache.openjpa.event.LifecycleEvent)"><CODE>StoreListener.beforeStore(org.apache.openjpa.event.LifecycleEvent)</CODE></A> in that the latter is called for
updated and new records, whereas this is only invoked for updated
records.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/UpdateListener.html#beforeUpdate(org.apache.openjpa.event.LifecycleEvent)">beforeUpdate</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/UpdateListener.html" title="interface in org.apache.openjpa.event">UpdateListener</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="afterUpdatePerformed(org.apache.openjpa.event.LifecycleEvent)"><!-- --></A><H3>
afterUpdatePerformed</H3>
<PRE>
public void <B>afterUpdatePerformed</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/UpdateListener.html#afterUpdatePerformed(org.apache.openjpa.event.LifecycleEvent)">UpdateListener</A></CODE></B></DD>
<DD>Receives notifications before an update is performed. Differs from
<A HREF="../../../../org/apache/openjpa/event/StoreListener.html#afterStore(org.apache.openjpa.event.LifecycleEvent)"><CODE>StoreListener.afterStore(org.apache.openjpa.event.LifecycleEvent)</CODE></A> in that the latter is called for
updated and new records, whereas this is only invoked for updated
records, and that this is called after the record is actually flushed
to the store.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/UpdateListener.html#afterUpdatePerformed(org.apache.openjpa.event.LifecycleEvent)">afterUpdatePerformed</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/UpdateListener.html" title="interface in org.apache.openjpa.event">UpdateListener</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="beforeDelete(org.apache.openjpa.event.LifecycleEvent)"><!-- --></A><H3>
beforeDelete</H3>
<PRE>
public void <B>beforeDelete</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/DeleteListener.html#beforeDelete(org.apache.openjpa.event.LifecycleEvent)">DeleteListener</A></CODE></B></DD>
<DD>Invoked before the instance transferred to a deleted state.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/DeleteListener.html#beforeDelete(org.apache.openjpa.event.LifecycleEvent)">beforeDelete</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/DeleteListener.html" title="interface in org.apache.openjpa.event">DeleteListener</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="afterDelete(org.apache.openjpa.event.LifecycleEvent)"><!-- --></A><H3>
afterDelete</H3>
<PRE>
public void <B>afterDelete</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/DeleteListener.html#afterDelete(org.apache.openjpa.event.LifecycleEvent)">DeleteListener</A></CODE></B></DD>
<DD>Invoked after the instance transferred to a deleted state.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/DeleteListener.html#afterDelete(org.apache.openjpa.event.LifecycleEvent)">afterDelete</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/DeleteListener.html" title="interface in org.apache.openjpa.event">DeleteListener</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="afterDeletePerformed(org.apache.openjpa.event.LifecycleEvent)"><!-- --></A><H3>
afterDeletePerformed</H3>
<PRE>
public void <B>afterDeletePerformed</B>(<A HREF="../../../../org/apache/openjpa/event/LifecycleEvent.html" title="class in org.apache.openjpa.event">LifecycleEvent</A>&nbsp;event)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/event/PostDeleteListener.html#afterDeletePerformed(org.apache.openjpa.event.LifecycleEvent)">PostDeleteListener</A></CODE></B></DD>
<DD>Receives notifications before an update is performed. Differs from
<A HREF="../../../../org/apache/openjpa/event/DeleteListener.html#afterDelete(org.apache.openjpa.event.LifecycleEvent)"><CODE>DeleteListener.afterDelete(LifecycleEvent)</CODE></A> in that the latter
is called after the delete operation, whereas this is called after the
delete statements have been sent to the data store.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/event/PostDeleteListener.html#afterDeletePerformed(org.apache.openjpa.event.LifecycleEvent)">afterDeletePerformed</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/event/PostDeleteListener.html" title="interface in org.apache.openjpa.event">PostDeleteListener</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PersistenceListenerAdapter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/openjpa/persistence/PersistenceExceptions.html" title="class in org.apache.openjpa.persistence"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/openjpa/persistence/PersistenceMetaDataDefaults.html" title="class in org.apache.openjpa.persistence"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/openjpa/persistence/PersistenceListenerAdapter.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="PersistenceListenerAdapter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2006-2011 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>