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 Modifier and Type 接口 描述 interface
BeanContext
BeanContext对JavaBeans起着逻辑分层容器的作用。interface
BeanContextServices
BeanContextServices接口提供了一个机制,让BeanContext将通用的“服务”公开给它的BeanContextChild对象。Classes in java.beans.beancontext that implement BeanContextChild Modifier and Type Class 描述 class
BeanContextChildSupport
这是一个通用支持类,用于为实现BeanContextChild协议提供支持。class
BeanContextServicesSupport
这个助手类提供java.beans.beancontext.BeanContextServices接口的实用程序实现。class
BeanContextSupport
这个帮助类提供java.beans.beancontext.BeanContext接口的实用程序实现。Fields in java.beans.beancontext declared as BeanContextChild Modifier and Type Field 描述 BeanContextChild
BeanContextChildSupport. beanContextChildPeer
该BeanContext
在此BeanContextChild
是嵌套。Methods in java.beans.beancontext that return BeanContextChild Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 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, Class<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
ABeanContextChild
或与BeanContextChild
相关联的任何任意对象可以通过调用该方法从其嵌套BeanContextServices
获得对当前注册服务的引用。Object
BeanContextServicesSupport. getService(BeanContextChild child, Object requestor, Class<?> 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 Constructor 描述 BeanContextChildSupport(BeanContextChild bcc)
构造一个BeanContextChildSupport,其中JavaBean组件自身实现BeanContextChild,并封装了这个,将该接口委派给此实现
-