| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>javax.jdo.listener (JDO API 3.2.1)</title> |
| <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="javax.jdo.listener (JDO API 3.2.1)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../javax/jdo/identity/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../javax/jdo/metadata/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?javax/jdo/listener/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="header"> |
| <h1 title="Package" class="title">Package javax.jdo.listener</h1> |
| <div class="docSummary"> |
| <div class="block">This package contains the JDO specification listener interfaces and classes.</div> |
| </div> |
| <p>See: <a href="#package.description">Description</a></p> |
| </div> |
| <div class="contentContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> |
| <caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/AttachCallback.html" title="interface in javax.jdo.listener">AttachCallback</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is used to notify instances of attach events.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/AttachLifecycleListener.html" title="interface in javax.jdo.listener">AttachLifecycleListener</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is implemented by listeners to be notified of |
| attach events.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/ClearCallback.html" title="interface in javax.jdo.listener">ClearCallback</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is used to notify instances of clear events.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/ClearLifecycleListener.html" title="interface in javax.jdo.listener">ClearLifecycleListener</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is implemented by listeners to be notified of |
| clear events.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/CreateLifecycleListener.html" title="interface in javax.jdo.listener">CreateLifecycleListener</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is implemented by listeners to be notified of |
| create events.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/DeleteCallback.html" title="interface in javax.jdo.listener">DeleteCallback</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is used to notify instances of delete events.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/DeleteLifecycleListener.html" title="interface in javax.jdo.listener">DeleteLifecycleListener</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is implemented by listeners to be notified of |
| delete events.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/DetachCallback.html" title="interface in javax.jdo.listener">DetachCallback</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is used to notify instances of detach events.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/DetachLifecycleListener.html" title="interface in javax.jdo.listener">DetachLifecycleListener</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is implemented by listeners to be notified of |
| detach events.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/DirtyLifecycleListener.html" title="interface in javax.jdo.listener">DirtyLifecycleListener</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is implemented by listeners to be notified of |
| dirty events.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/InstanceLifecycleListener.html" title="interface in javax.jdo.listener">InstanceLifecycleListener</a></td> |
| <td class="colLast"> |
| <div class="block">All lifecycle listeners extend from this base interface.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/LoadCallback.html" title="interface in javax.jdo.listener">LoadCallback</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is used to notify instances of load events.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/LoadLifecycleListener.html" title="interface in javax.jdo.listener">LoadLifecycleListener</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is implemented by listeners to be notified of |
| load events.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/StoreCallback.html" title="interface in javax.jdo.listener">StoreCallback</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is used to notify instances of store events.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/StoreLifecycleListener.html" title="interface in javax.jdo.listener">StoreLifecycleListener</a></td> |
| <td class="colLast"> |
| <div class="block">This interface is implemented by listeners to be notified of |
| store events.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> |
| <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../javax/jdo/listener/InstanceLifecycleEvent.html" title="class in javax.jdo.listener">InstanceLifecycleEvent</a></td> |
| <td class="colLast"> |
| <div class="block">This is the event class used in life cycle event notifications.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| <a name="package.description"> |
| <!-- --> |
| </a> |
| <h2 title="Package javax.jdo.listener Description">Package javax.jdo.listener Description</h2> |
| <div class="block">This package contains the JDO specification listener interfaces and classes. |
| <P>There are two kinds of interfaces defined to allow an application to |
| manage life cycle changes to persistent objects. |
| <P>The first kind is defined |
| on the persistent domain class itself. This allows methods in the domain class |
| to be called during life cycle events. The domain class implements one or more |
| of the interfaces |
| <a href="../../../javax/jdo/listener/AttachCallback.html" title="interface in javax.jdo.listener"><code>AttachCallback</code></a>, |
| <a href="../../../javax/jdo/listener/ClearCallback.html" title="interface in javax.jdo.listener"><code>ClearCallback</code></a>, |
| <a href="../../../javax/jdo/listener/DeleteCallback.html" title="interface in javax.jdo.listener"><code>DeleteCallback</code></a>, |
| <a href="../../../javax/jdo/listener/DetachCallback.html" title="interface in javax.jdo.listener"><code>DetachCallback</code></a>, |
| <a href="../../../javax/jdo/listener/LoadCallback.html" title="interface in javax.jdo.listener"><code>LoadCallback</code></a>, or |
| <a href="../../../javax/jdo/listener/StoreCallback.html" title="interface in javax.jdo.listener"><code>StoreCallback</code></a>. |
| The methods in the interfaces |
| are called during life cycle events. |
| <P>The second kind is defined on an external class using the listener pattern. |
| Instances of classes that implement one or more of the listener interfaces |
| <a href="../../../javax/jdo/listener/AttachLifecycleListener.html" title="interface in javax.jdo.listener"><code>AttachLifecycleListener</code></a>, |
| <a href="../../../javax/jdo/listener/ClearLifecycleListener.html" title="interface in javax.jdo.listener"><code>ClearLifecycleListener</code></a>, |
| <a href="../../../javax/jdo/listener/CreateLifecycleListener.html" title="interface in javax.jdo.listener"><code>CreateLifecycleListener</code></a>, |
| <a href="../../../javax/jdo/listener/DeleteLifecycleListener.html" title="interface in javax.jdo.listener"><code>DeleteLifecycleListener</code></a>, |
| <a href="../../../javax/jdo/listener/DetachLifecycleListener.html" title="interface in javax.jdo.listener"><code>DetachLifecycleListener</code></a>, |
| <a href="../../../javax/jdo/listener/DirtyLifecycleListener.html" title="interface in javax.jdo.listener"><code>DirtyLifecycleListener</code></a>, |
| <a href="../../../javax/jdo/listener/LoadLifecycleListener.html" title="interface in javax.jdo.listener"><code>LoadLifecycleListener</code></a>, or |
| <a href="../../../javax/jdo/listener/StoreLifecycleListener.html" title="interface in javax.jdo.listener"><code>StoreLifecycleListener</code></a> |
| are registered |
| with the PersistenceManager or PersistenceManagerFactory |
| and receive callbacks during life cycle events |
| of the persistent instances of interest.</div> |
| </div> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../javax/jdo/identity/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../javax/jdo/metadata/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?javax/jdo/listener/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2005–2022 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |