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

📄 class.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fires a <tt>BeanContextServiceEvent</tt> notifying of a new service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.html#fireServiceRevoked(java.lang.Class, boolean)">fireServiceRevoked</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass,                   boolean&nbsp;revokeNow)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fires a <tt>BeanContextServiceRevokedEvent</tt>  indicating that a particular service is  no longer available.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.BCSSProxyServiceProvider.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.BCSSProxyServiceProvider.html#getService(java.beans.beancontext.BeanContextServices, java.lang.Object, java.lang.Class, java.lang.Object)">getService</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextServices.html">BeanContextServices</A>&nbsp;bcs,           <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;requestor,           <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass,           <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;serviceSelector)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/Iterator.html">Iterator</A></CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.BCSSProxyServiceProvider.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.BCSSProxyServiceProvider.html#getCurrentServiceSelectors(java.beans.beancontext.BeanContextServices, java.lang.Class)">getCurrentServiceSelectors</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextServices.html">BeanContextServices</A>&nbsp;bcs,                           <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B>BeanContextServiceProvider.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html#getService(java.beans.beancontext.BeanContextServices, java.lang.Object, java.lang.Class, java.lang.Object)">getService</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextServices.html">BeanContextServices</A>&nbsp;bcs,           <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;requestor,           <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass,           <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;serviceSelector)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked by <code>BeanContextServices</code>, this method  requests an instance of a service from this <code>BeanContextServiceProvider</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/Iterator.html">Iterator</A></CODE></FONT></TD><TD><CODE><B>BeanContextServiceProvider.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html#getCurrentServiceSelectors(java.beans.beancontext.BeanContextServices, java.lang.Class)">getCurrentServiceSelectors</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextServices.html">BeanContextServices</A>&nbsp;bcs,                           <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked by <code>BeanContextServices</code>, this method gets the current service selectors for the specified service.</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>BeanContextServices.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServices.html#addService(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider)">addService</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass,           <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A>&nbsp;serviceProvider)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a service to this BeanContext.</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>BeanContextServices.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServices.html#revokeService(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider, boolean)">revokeService</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass,              <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A>&nbsp;serviceProvider,              boolean&nbsp;revokeCurrentServicesNow)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BeanContextServiceProviders wishing to remove  a currently registered service from this context may do so via invocation of this method.</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>BeanContextServices.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServices.html#hasService(java.lang.Class)">hasService</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reports whether or not a given service is  currently available from this context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B>BeanContextServices.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServices.html#getService(java.beans.beancontext.BeanContextChild, java.lang.Object, java.lang.Class, java.lang.Object, java.beans.beancontext.BeanContextServiceRevokedListener)">getService</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextChild.html">BeanContextChild</A>&nbsp;child,           <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;requestor,           <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass,           <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;serviceSelector,           <A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedListener.html">BeanContextServiceRevokedListener</A>&nbsp;bcsrl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <code>BeanContextChild</code>, or any arbitrary object  associated with a <code>BeanContextChild</code>, may obtain  a reference to a currently registered service from its  nesting <code>BeanContextServices</code>  via invocation of this method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/Iterator.html">Iterator</A></CODE></FONT></TD><TD><CODE><B>BeanContextServices.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServices.html#getCurrentServiceSelectors(java.lang.Class)">getCurrentServiceSelectors</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the list of service dependent service parameters  (Service Selectors) for the specified service, by  calling getCurrentServiceSelectors() on the underlying BeanContextServiceProvider.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../java/beans/beancontext/package-summary.html">java.beans.beancontext</A> with parameters of type <A HREF="../../../java/lang/Class.html">Class</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextServiceAvailableEvent.html#BeanContextServiceAvailableEvent(java.beans.beancontext.BeanContextServices, java.lang.Class)">BeanContextServiceAvailableEvent</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextServices.html">BeanContextServices</A>&nbsp;bcs,                                 <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;sc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a <code>BeanContextAvailableServiceEvent</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedEvent.html#BeanContextServiceRevokedEvent(java.beans.beancontext.BeanContextServices, java.lang.Class, boolean)">BeanContextServiceRevokedEvent</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextServices.html">BeanContextServices</A>&nbsp;bcs,                               <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;sc,                               boolean&nbsp;invalidate)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a <code>BeanContextServiceEvent</code>.</TD></TR></TABLE>&nbsp;<P><A NAME="java.io"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/lang/Class.html">Class</A> in <A HREF="../../../java/io/package-summary.html">java.io</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/io/package-summary.html">java.io</A> that return <A HREF="../../../java/lang/Class.html">Class</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../java/lang/Class.html">Class</A></CODE></FONT></TD><TD><CODE><B>ObjectInputStream.</B><B><A HREF="../../../java/io/ObjectInputStream.html#resolveClass(java.io.ObjectStreamClass)">resolveClass</A></B>(<A HREF="../../../java/io/ObjectStreamClass.html">ObjectStreamClass</A>&nbsp;v)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Load the local class equivalent of the specified stream class description.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../java/lang/Class.html">Class</A></CODE></FONT></TD><TD><CODE><B>ObjectInputStream.</B><B><A HREF="../../../java/io/ObjectInputStream.html#resolveProxyClass(java.lang.String[])">resolveProxyClass</A></B>(<A HREF="../../../java/lang/String.html">String</A>[]&nbsp;interfaces)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a proxy class that implements the interfaces named in a proxy class descriptor; subclasses may implement this method to read custom data from the stream along with the descriptors for dynamic proxy classes, allowing them to use an alternate loading mechanism for the interfaces and the proxy class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/Class.html">Class</A></CODE></FONT></TD><TD><CODE><B>ObjectStreamClass.</B><B><A HREF="../../../java/io/ObjectStreamClass.html#forClass()">forClass</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the class in the local VM that this version is mapped to.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/Class.html">Class</A></CODE></FONT></TD><TD><CODE><B>ObjectStreamField.</B><B><A HREF="../../../java/io/ObjectStreamField.html#getType()">getType</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the type of the field.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/io/package-summary.html">java.io</A> with parameters of type <A HREF="../../../java/lang/Class.html">Class</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>ObjectOutputStream.</B><B><A HREF="../../../java/io/ObjectOutputStream.html#annotateClass(java.lang.Class)">annotateClass</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;cl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subclasses may implement this method to allow class data to be stored in the stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>ObjectOutputStream.</B><B><A HREF="../../../java/io/ObjectOutputStream.html#annotateProxyClass(java.lang.Class)">annotateProxyClass</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;cl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subclasses may implement this method to store custom data in the stream along with descriptors for dynamic proxy classes.</TD></TR><TR BGCOLOR="white

⌨️ 快捷键说明

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