📄 class.html
字号:
<BR> 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 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> serviceClass, boolean revokeNow)</CODE><BR> 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> <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> bcs, <A HREF="../../../java/lang/Object.html">Object</A> requestor, <A HREF="../../../java/lang/Class.html">Class</A> serviceClass, <A HREF="../../../java/lang/Object.html">Object</A> serviceSelector)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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> bcs, <A HREF="../../../java/lang/Class.html">Class</A> serviceClass)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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> bcs, <A HREF="../../../java/lang/Object.html">Object</A> requestor, <A HREF="../../../java/lang/Class.html">Class</A> serviceClass, <A HREF="../../../java/lang/Object.html">Object</A> serviceSelector)</CODE><BR> 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> <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> bcs, <A HREF="../../../java/lang/Class.html">Class</A> serviceClass)</CODE><BR> 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> 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> serviceClass, <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A> serviceProvider)</CODE><BR> Adds a service to this BeanContext.</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>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> serviceClass, <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A> serviceProvider, boolean revokeCurrentServicesNow)</CODE><BR> 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> 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> serviceClass)</CODE><BR> 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> <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> child, <A HREF="../../../java/lang/Object.html">Object</A> requestor, <A HREF="../../../java/lang/Class.html">Class</A> serviceClass, <A HREF="../../../java/lang/Object.html">Object</A> serviceSelector, <A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedListener.html">BeanContextServiceRevokedListener</A> bcsrl)</CODE><BR> 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> <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> serviceClass)</CODE><BR> Gets the list of service dependent service parameters (Service Selectors) for the specified service, by calling getCurrentServiceSelectors() on the underlying BeanContextServiceProvider.</TD></TR></TABLE> <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> bcs, <A HREF="../../../java/lang/Class.html">Class</A> sc)</CODE><BR> 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> bcs, <A HREF="../../../java/lang/Class.html">Class</A> sc, boolean invalidate)</CODE><BR> Construct a <code>BeanContextServiceEvent</code>.</TD></TR></TABLE> <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> <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 <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> v)</CODE><BR> 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 <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>[] interfaces)</CODE><BR> 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> <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> 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> <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> Get the type of the field.</TD></TR></TABLE> <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 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> cl)</CODE><BR> 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 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> cl)</CODE><BR> 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 + -