| Package | Description |
|---|---|
| java.beans.beancontext |
Provides classes and interfaces relating to bean context.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BeanContext
The BeanContext acts a logical hierarchical container for JavaBeans.
|
interface |
BeanContextServices
The BeanContextServices interface provides a mechanism for a BeanContext to expose generic "services" to the BeanContextChild objects within.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BeanContextChildSupport
This is a general support class to provide support for implementing the BeanContextChild protocol.
|
class |
BeanContextServicesSupport
This helper class provides a utility implementation of the java.beans.beancontext.BeanContextServices interface.
|
class |
BeanContextSupport
This helper class provides a utility implementation of the java.beans.beancontext.BeanContext interface.
|
| Modifier and Type | Field and Description |
|---|---|
BeanContextChild |
BeanContextChildSupport.beanContextChildPeer
The
BeanContext in which this
BeanContextChild is nested.
|
| Modifier and Type | Method and Description |
|---|---|
BeanContextChild |
BeanContextChildSupport.getBeanContextChildPeer()
Gets the
BeanContextChild associated with this
BeanContextChildSupport.
|
BeanContextChild |
BeanContextProxy.getBeanContextProxy()
Gets the
BeanContextChild (or subinterface) associated with this object.
|
protected static BeanContextChild |
BeanContextSupport.getChildBeanContextChild(Object
Gets the BeanContextChild (if any) of the specified child
|
| Modifier and Type | Method and Description |
|---|---|
URL |
BeanContext.getResource(String
Analagous to
java.lang.ClassLoader.getResource(), this method allows a
BeanContext implementation to interpose behavior between the child
Component and underlying
ClassLoader.
|
URL |
BeanContextSupport.getResource(String
|
InputStream |
BeanContext.getResourceAsStream(String
Analagous to
java.lang.ClassLoader.getResourceAsStream(), this method allows a
BeanContext implementation to interpose behavior between the child
Component and underlying
ClassLoader.
|
InputStream |
BeanContextSupport.getResourceAsStream(String
|
Object |
BeanContextServicesSupport.getService(BeanContextChild
obtain a service which may be delegated
|
Object |
BeanContextServices.getService(BeanContextChild
A
BeanContextChild, or any arbitrary object associated with a
BeanContextChild, may obtain a reference to a currently registered service from its nesting
BeanContextServices via invocation of this method.
|
void |
BeanContextServicesSupport.releaseService(BeanContextChild
release a service
|
void |
BeanContextServices.releaseService(BeanContextChild
Releases a
BeanContextChild's (or any arbitrary object associated with a BeanContextChild) reference to the specified service by calling releaseService() on the underlying
BeanContextServiceProvider.
|
| Constructor and Description | |
|---|---|
BeanContextChildSupport(BeanContextChild
construct a BeanContextChildSupport where the JavaBean component itself implements BeanContextChild, and encapsulates this, delegating that interface to this implementation
|