Uses of Interface
java.beans.beancontext.BeanContextChild
-
Packages that use BeanContextChild 软件包 描述 java.beans.beancontext 提供与bean上下文相关的类和接口。 -
-
Uses of BeanContextChild in java.beans.beancontext
Subinterfaces of BeanContextChild in java.beans.beancontext 变量和类型 接口 描述 interface
BeanContext
BeanContext是JavaBeans的逻辑分层容器。interface
BeanContextServices
BeanContextServices接口为BeanContext提供了一种机制,用于向其中的BeanContextChild对象公开通用“服务”。Classes in java.beans.beancontext that implement BeanContextChild 变量和类型 类 描述 class
BeanContextChildSupport
这是一个通用的支持类,为实现BeanContextChild协议提供支持。class
BeanContextServicesSupport
此帮助器类提供java.beans.beancontext.BeanContextServices接口的实用程序实现。class
BeanContextSupport
此助手类提供java.beans.beancontext.BeanContext接口的实用程序实现。Fields in java.beans.beancontext declared as BeanContextChild 变量和类型 字段 描述 BeanContextChild
BeanContextChildSupport. beanContextChildPeer
该BeanContext
在这个BeanContextChild
是嵌套。Methods in java.beans.beancontext that return BeanContextChild 变量和类型 方法 描述 BeanContextChild
BeanContextChildSupport. getBeanContextChildPeer()
获取BeanContextChild
与此相关BeanContextChildSupport
。BeanContextChild
BeanContextProxy. getBeanContextProxy()
获取与此对象关联的BeanContextChild
(或子接口)。protected static BeanContextChild
BeanContextSupport. getChildBeanContextChild(Object child)
获取指定子级的BeanContextChild(如果有)Methods in java.beans.beancontext with parameters of type BeanContextChild 变量和类型 方法 描述 URL
BeanContext. getResource(String name, BeanContextChild bcc)
与java.lang.ClassLoader.getResource()
,此方法允许BeanContext
实现插入子Component
和底层ClassLoader
之间的行为。URL
BeanContextSupport. getResource(String name, BeanContextChild bcc)
InputStream
BeanContext. getResourceAsStream(String name, BeanContextChild bcc)
与java.lang.ClassLoader.getResourceAsStream()
,此方法允许BeanContext
实现插入子Component
与底层ClassLoader
之间的行为。InputStream
BeanContextSupport. getResourceAsStream(String name, BeanContextChild bcc)
Object
BeanContextServices. getService(BeanContextChild child, Object requestor, 类<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
BeanContextChild
或与BeanContextChild
相关联的任何任意对象可以通过调用此方法从其嵌套BeanContextServices
获得对当前注册的服务的引用。Object
BeanContextServicesSupport. getService(BeanContextChild child, Object requestor, 类<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
获得可以委派的服务void
BeanContextServices. releaseService(BeanContextChild child, Object requestor, Object service)
通过调用底层BeanContextServiceProvider
上的releaseService(),释放BeanContextChild
(或与BeanContextChild关联的任意对象)对指定服务的BeanContextServiceProvider
。void
BeanContextServicesSupport. releaseService(BeanContextChild child, Object requestor, Object service)
发布服务Constructors in java.beans.beancontext with parameters of type BeanContextChild 构造器 描述 BeanContextChildSupport(BeanContextChild bcc)
构造一个BeanContextChildSupport,其中JavaBean组件本身实现了BeanContextChild,并封装了它,将该接口委托给该实现
-