软件包 | 描述 |
---|---|
java.beans.beancontext |
提供有关豆上下文的类和接口。
|
Modifier and Type | Interface and Description |
---|---|
interface |
BeanContext
的beancontext作为JavaBeans的分层逻辑容器。
|
interface |
BeanContextServices
的beancontextservices接口提供了一个beancontext揭露通用的“服务”的beancontextchild对象机制。
|
Modifier and Type | Class and Description |
---|---|
class |
BeanContextChildSupport
这是一个普遍的支持类提供实现beancontextchild协议支持。
|
class |
BeanContextServicesSupport
这个助手类提供了一种实用的java.beans.beancontext.beancontextservices接口实现。
|
class |
BeanContextSupport
这个助手类提供了一种实用的java.beans.beancontext.beancontext接口实现。
|
Modifier and Type | Field and Description |
---|---|
BeanContextChild |
BeanContextChildSupport.beanContextChildPeer
的
BeanContext 这
BeanContextChild 嵌套。
|
Modifier and Type | Method and Description |
---|---|
BeanContextChild |
BeanContextChildSupport.getBeanContextChildPeer()
获取与此相关的
BeanContextChild
BeanContextChildSupport。
|
BeanContextChild |
BeanContextProxy.getBeanContextProxy()
得到
BeanContextChild (或接口)与该对象相关的。
|
protected static BeanContextChild |
BeanContextSupport.getChildBeanContextChild(Object child)
得到beancontextchild(如果有)指定的孩子
|
Modifier and Type | Method and Description |
---|---|
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 |
BeanContextServicesSupport.getService(BeanContextChild child, Object requestor, 类 serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
获得一个可能被委派的服务
|
Object |
BeanContextServices.getService(BeanContextChild child, Object requestor, 类 serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
一个
BeanContextChild ,或任意对象与
BeanContextChild 相关,可以参考目前已注册的服务从它的巢
BeanContextServices 通过该方法调用。
|
void |
BeanContextServicesSupport.releaseService(BeanContextChild child, Object requestor, Object service)
发布服务
|
void |
BeanContextServices.releaseService(BeanContextChild child, Object requestor, Object service)
发布
BeanContextChild 的(或任何一个beancontextchild相关的任意对象)的
BeanContextServiceProvider releaseservice()底层调用到指定的服务参考。
|
Constructor and Description |
---|
BeanContextChildSupport(BeanContextChild bcc)
构建一个beancontextchildsupport在JavaBean组件本身实现了beancontextchild,封装,将这个接口的实现
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.