| Package | Description | 
|---|---|
| java.beans | Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture. | 
| java.beans.beancontext | Provides classes and interfaces relating to bean context. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AppletInitializer. initialize(Applet newAppletBean,
          BeanContext bCtxt)
 If passed to the appropriate variant of java.beans.Beans.instantiate
 this method will be called in order to associate the newly instantiated
 Applet (JavaBean) with its AppletContext, AppletStub, and Container. | 
| static Object | Beans. instantiate(ClassLoader cls,
           String beanName,
           BeanContext beanContext)
 Instantiate a JavaBean. | 
| static Object | Beans. instantiate(ClassLoader cls,
           String beanName,
           BeanContext beanContext,
           AppletInitializer initializer)Instantiate a bean. | 
| Modifier and Type | Interface and Description | 
|---|---|
| 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  | BeanContextServicesSupport
 This helper class provides a utility implementation of the
 java.beans.beancontext.BeanContextServices interface. | 
| class  | BeanContextSupportThis helper class provides a utility implementation of the
 java.beans.beancontext.BeanContext interface. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected BeanContext | BeanContextChildSupport. beanContextThe bean context. | 
| protected BeanContext | BeanContextEvent. propagatedFromThe  BeanContextfrom which this event was propagated | 
| Modifier and Type | Method and Description | 
|---|---|
| BeanContext | BeanContextChildSupport. getBeanContext()Gets the nesting  BeanContextfor thisBeanContextChildSupport. | 
| BeanContext | BeanContextEvent. getBeanContext()Gets the  BeanContextassociated with this event. | 
| BeanContext | BeanContextChild. getBeanContext()Gets the  BeanContextassociated
 with thisBeanContextChild. | 
| BeanContext | BeanContextSupport. getBeanContextPeer()Gets the instance of BeanContext that
 this object is providing the implementation for. | 
| BeanContext | BeanContextEvent. getPropagatedFrom()Gets the  BeanContextfrom which this event was propagated. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BeanContextChildSupport. setBeanContext(BeanContext bc)Sets the  BeanContextfor
 thisBeanContextChildSupport. | 
| void | BeanContextChild. setBeanContext(BeanContext bc)
 Objects that implement this interface,
 shall fire a java.beans.PropertyChangeEvent, with parameters:
 propertyName "beanContext", oldValue (the previous nesting
  BeanContextinstance, ornull),
 newValue (the current nestingBeanContextinstance, ornull). | 
| void | BeanContextEvent. setPropagatedFrom(BeanContext bc)Sets the  BeanContextfrom which this event was propagated. | 
| boolean | BeanContextChildSupport. validatePendingSetBeanContext(BeanContext newValue)Called from setBeanContext to validate (or otherwise) the
 pending change in the nesting BeanContext property value. | 
| Constructor and Description | 
|---|
| BeanContextEvent(BeanContext bc)Contruct a BeanContextEvent | 
| BeanContextMembershipEvent(BeanContext bc,
                          Collection changes)Contruct a BeanContextMembershipEvent | 
| BeanContextMembershipEvent(BeanContext bc,
                          Object[] changes)Contruct a BeanContextMembershipEvent | 
| BeanContextSupport(BeanContext peer)Create an instance using with a default locale | 
| BeanContextSupport(BeanContext peer,
                  Locale lcle)Create an instance using the specified locale | 
| BeanContextSupport(BeanContext peer,
                  Locale lcle,
                  boolean dtime)Create an instance using the specified Locale and design mode. | 
| BeanContextSupport(BeanContext peer,
                  Locale lcle,
                  boolean dTime,
                  boolean visible)Construct a BeanContextSupport instance | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.