## Uses of Interface
java.beans.beancontext.BeanContext

Packages that use BeanContext
Package | Description
--- | ---
java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture.
java.beans.beancontext | Provides classes and interfaces relating to bean context.

### Uses of BeanContext in java.beans

Methods in java.beans with parameters of type BeanContext
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.

### Uses of BeanContext in java.beans.beancontext

Subinterfaces of BeanContext in java.beans.beancontext
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.

Classes in java.beans.beancontext that implement BeanContext
Modifier and Type | Class and Description
--- | ---
`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 BeanContext
Modifier and Type | Field and Description
--- | ---
`protected BeanContext` | BeanContextChildSupport.`beanContext`
`protected BeanContext` | BeanContextEvent.`propagatedFrom` The `BeanContext` from which this event was propagated

Methods in java.beans.beancontext that return BeanContext
Modifier and Type | Method and Description
--- | ---
`BeanContext` | BeanContextEvent.`getBeanContext()` Gets the `BeanContext` associated with this event.
`BeanContext` | BeanContextChildSupport.`getBeanContext()` Gets the nesting `BeanContext` for this `BeanContextChildSupport`.
`BeanContext` | BeanContextChild.`getBeanContext()` Gets the `BeanContext` associated with this `BeanContextChild`.
`BeanContext` | BeanContextSupport.`getBeanContextPeer()` Gets the instance of `BeanContext` that this object is providing the implementation for.
`BeanContext` | BeanContextEvent.`getPropagatedFrom()` Gets the `BeanContext` from which this event was propagated.

Methods in java.beans.beancontext with parameters of type BeanContext
Modifier and Type | Method and Description
--- | ---
`void` | BeanContextChildSupport.`setBeanContext(BeanContext bc)` Sets the `BeanContext` for this `BeanContextChildSupport`.
`void` | BeanContextChild.`setBeanContext(BeanContext bc)` Objects that implement this interface, shall fire a java.beans.PropertyChangeEvent, with parameters: propertyName "beanContext", oldValue (the previous nesting `BeanContext` instance, or `null`), newValue (the current nesting `BeanContext` instance, or `null`).
`void` | BeanContextEvent.`setPropagatedFrom(BeanContext bc)` Sets the `BeanContext` from 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.

Constructors in java.beans.beancontext with parameters of type BeanContext
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

Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved.