Uses of Interface
java.beans.beancontext.BeanContextChild
-
Packages that use BeanContextChild Package Description java.beans.beancontext Provides classes and interfaces relating to bean context. -
-
Uses of BeanContextChild in java.beans.beancontext
Subinterfaces of BeanContextChild in java.beans.beancontext 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.Classes in java.beans.beancontext that implement BeanContextChild 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.Fields in java.beans.beancontext declared as BeanContextChild Modifier and Type Field and Description BeanContextChild
BeanContextChildSupport. beanContextChildPeer
TheBeanContext
in which thisBeanContextChild
is nested.Methods in java.beans.beancontext that return BeanContextChild Modifier and Type Method and Description BeanContextChild
BeanContextChildSupport. getBeanContextChildPeer()
Gets the BeanContextChild associated with this BeanContextChildSupport.BeanContextChild
BeanContextProxy. getBeanContextProxy()
Gets theBeanContextChild
(or subinterface) associated with this object.protected static BeanContextChild
BeanContextSupport. getChildBeanContextChild(Object child)
Gets the BeanContextChild (if any) of the specified childMethods in java.beans.beancontext with parameters of type BeanContextChild Modifier and Type Method and Description URL
BeanContextSupport. getResource(String name, BeanContextChild bcc)
URL
BeanContext. getResource(String name, BeanContextChild bcc)
Analagous tojava.lang.ClassLoader.getResource()
, this method allows aBeanContext
implementation to interpose behavior between the childComponent
and underlyingClassLoader
.InputStream
BeanContextSupport. getResourceAsStream(String name, BeanContextChild bcc)
InputStream
BeanContext. getResourceAsStream(String name, BeanContextChild bcc)
Analagous tojava.lang.ClassLoader.getResourceAsStream()
, this method allows aBeanContext
implementation to interpose behavior between the childComponent
and underlyingClassLoader
.Object
BeanContextServicesSupport. getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
obtain a service which may be delegatedObject
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.void
BeanContextServicesSupport. releaseService(BeanContextChild child, Object requestor, Object service)
release a servicevoid
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
.Constructors in java.beans.beancontext with parameters of type BeanContextChild Constructor and Description BeanContextChildSupport(BeanContextChild bcc)
construct a BeanContextChildSupport where the JavaBean component itself implements BeanContextChild, and encapsulates this, delegating that interface to this implementation
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.