Uses of Interface
java.beans.beancontext.BeanContextChild
Package
Description
Provides classes and interfaces relating to bean context.
-
Uses of BeanContextChild in java.beans.beancontext
Modifier and TypeInterfaceDescriptioninterface
The BeanContext acts a logical hierarchical container for JavaBeans.interface
The BeanContextServices interface provides a mechanism for a BeanContext to expose generic "services" to the BeanContextChild objects within.Modifier and TypeClassDescriptionclass
This is a general support class to provide support for implementing the BeanContextChild protocol.class
This helper class provides a utility implementation of the java.beans.beancontext.BeanContextServices interface.class
This helper class provides a utility implementation of the java.beans.beancontext.BeanContext interface.Modifier and TypeFieldDescriptionBeanContextChildSupport.beanContextChildPeer
TheBeanContext
in which thisBeanContextChild
is nested.Modifier and TypeMethodDescriptionBeanContextChildSupport.getBeanContextChildPeer()
Gets theBeanContextChild
associated with thisBeanContextChildSupport
.BeanContextProxy.getBeanContextProxy()
Gets theBeanContextChild
(or subinterface) associated with this object.protected static final BeanContextChild
BeanContextSupport.getChildBeanContextChild
(Object child) Gets the BeanContextChild (if any) of the specified childModifier and TypeMethodDescriptionBeanContext.getResource
(String name, BeanContextChild bcc) Analogous tojava.lang.ClassLoader.getResource()
, this method allows aBeanContext
implementation to interpose behavior between the childComponent
and underlyingClassLoader
.BeanContextSupport.getResource
(String name, BeanContextChild bcc) BeanContext.getResourceAsStream
(String name, BeanContextChild bcc) Analogous tojava.lang.ClassLoader.getResourceAsStream()
, this method allows aBeanContext
implementation to interpose behavior between the childComponent
and underlyingClassLoader
.BeanContextSupport.getResourceAsStream
(String name, BeanContextChild bcc) BeanContextServices.getService
(BeanContextChild child, Object requestor, Class<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) ABeanContextChild
, or any arbitrary object associated with aBeanContextChild
, may obtain a reference to a currently registered service from its nestingBeanContextServices
via invocation of this method.BeanContextServicesSupport.getService
(BeanContextChild child, Object requestor, Class<?> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) obtain a service which may be delegatedvoid
BeanContextServices.releaseService
(BeanContextChild child, Object requestor, Object service) Releases aBeanContextChild
's (or any arbitrary object associated with a BeanContextChild) reference to the specified service by calling releaseService() on the underlyingBeanContextServiceProvider
.void
BeanContextServicesSupport.releaseService
(BeanContextChild child, Object requestor, Object service) release a serviceModifierConstructorDescriptionconstruct a BeanContextChildSupport where the JavaBean component itself implements BeanContextChild, and encapsulates this, delegating that interface to this implementation