⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 connectionevent.html

📁 j2ee api,很好的api。我这现在有
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the connection handle. </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.util.EventObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventObject.html" title="class or interface in java.util">EventObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventObject.html#getSource()" title="class or interface in java.util">getSource</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventObject.html#toString()" title="class or interface in java.util">toString</A></CODE></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"><TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="CONNECTION_CLOSED"><!-- --></A><H3>CONNECTION_CLOSED</H3><PRE>public static final int <B>CONNECTION_CLOSED</B></PRE><DL><DD>Event notification that an application component has closed the   connection<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.resource.spi.ConnectionEvent.CONNECTION_CLOSED">Constant Field Values</A></DL></DL><HR><A NAME="LOCAL_TRANSACTION_STARTED"><!-- --></A><H3>LOCAL_TRANSACTION_STARTED</H3><PRE>public static final int <B>LOCAL_TRANSACTION_STARTED</B></PRE><DL><DD>Event notification that a Resource Manager Local Transaction was  started on the connection<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.resource.spi.ConnectionEvent.LOCAL_TRANSACTION_STARTED">Constant Field Values</A></DL></DL><HR><A NAME="LOCAL_TRANSACTION_COMMITTED"><!-- --></A><H3>LOCAL_TRANSACTION_COMMITTED</H3><PRE>public static final int <B>LOCAL_TRANSACTION_COMMITTED</B></PRE><DL><DD>Event notification that a Resource Manager Local Transaction was  committed on the connection<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.resource.spi.ConnectionEvent.LOCAL_TRANSACTION_COMMITTED">Constant Field Values</A></DL></DL><HR><A NAME="LOCAL_TRANSACTION_ROLLEDBACK"><!-- --></A><H3>LOCAL_TRANSACTION_ROLLEDBACK</H3><PRE>public static final int <B>LOCAL_TRANSACTION_ROLLEDBACK</B></PRE><DL><DD>Event notification that a Resource Manager Local Transaction was  rolled back on the connection<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.resource.spi.ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK">Constant Field Values</A></DL></DL><HR><A NAME="CONNECTION_ERROR_OCCURRED"><!-- --></A><H3>CONNECTION_ERROR_OCCURRED</H3><PRE>public static final int <B>CONNECTION_ERROR_OCCURRED</B></PRE><DL><DD>Event notification that an error occurred on the connection.   This event indicates that the ManagedConnection instance is  now invalid and unusable.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.resource.spi.ConnectionEvent.CONNECTION_ERROR_OCCURRED">Constant Field Values</A></DL></DL><HR><A NAME="id"><!-- --></A><H3>id</H3><PRE>protected int <B>id</B></PRE><DL><DD>Type of the event<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ConnectionEvent(javax.resource.spi.ManagedConnection, int)"><!-- --></A><H3>ConnectionEvent</H3><PRE>public <B>ConnectionEvent</B>(<A HREF="../../../javax/resource/spi/ManagedConnection.html" title="interface in javax.resource.spi">ManagedConnection</A>&nbsp;source,                       int&nbsp;eid)</PRE><DL><DD>Construct a ConnectionEvent object. Exception defaults to null.<P><DT><B>Parameters:</B><DD><CODE>source</CODE> - ManagedConnection that is the                       source of the event<DD><CODE>eid</CODE> - type of the Connection event</DL><HR><A NAME="ConnectionEvent(javax.resource.spi.ManagedConnection, int, java.lang.Exception)"><!-- --></A><H3>ConnectionEvent</H3><PRE>public <B>ConnectionEvent</B>(<A HREF="../../../javax/resource/spi/ManagedConnection.html" title="interface in javax.resource.spi">ManagedConnection</A>&nbsp;source,                       int&nbsp;eid,                       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A>&nbsp;exception)</PRE><DL><DD>Construct a ConnectionEvent object.<P><DT><B>Parameters:</B><DD><CODE>source</CODE> - ManagedConnection that is the                       source of the event<DD><CODE>exception</CODE> - exception about to be thrown to the application<DD><CODE>eid</CODE> - type of the Connection event</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getConnectionHandle()"><!-- --></A><H3>getConnectionHandle</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getConnectionHandle</B>()</PRE><DL><DD>Get the connection handle associated with the Managed Connection instance. Used for CONNECTION_CLOSED event.<P><DD><DL><DT><B>Returns:</B><DD>the connection handle. May be null</DL></DD></DL><HR><A NAME="setConnectionHandle(java.lang.Object)"><!-- --></A><H3>setConnectionHandle</H3><PRE>public void <B>setConnectionHandle</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;connectionHandle)</PRE><DL><DD>Set the connection handle. Used for CONNECTION_CLOSED event<P><DD><DL></DL></DD></DL><HR><A NAME="getException()"><!-- --></A><H3>getException</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A> <B>getException</B>()</PRE><DL><DD>Get the exception. May be null.<P><DD><DL><DT><B>Returns:</B><DD>the exception about to be thrown.</DL></DD></DL><HR><A NAME="getId()"><!-- --></A><H3>getId</H3><PRE>public int <B>getId</B>()</PRE><DL><DD>Get the type of event<P><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=3 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="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><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ConnectionEvent.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -