W3cubDocs

/OpenJDK 25

Package java.beans.beancontext

package java.beans.beancontext
Provides classes and interfaces relating to bean context. A bean context is a container for beans and defines the execution environment for the beans it contains. There can be several beans in a single bean context, and a bean context can be nested within another bean context. This package also contains events and listener interface for beans being added and removed from a bean context.

These APIs are now both obsolete and express an anti-pattern of component assembly and interaction.

This package has been deprecated and may be removed in a future version of the Java Platform. There is no replacement.

All of the classes and interfaces in this package have been terminally deprecated.

Users are advised to migrate their applications to other technologies.

Since:
1.2
Class Description
BeanContext Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextChild Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextChildComponentProxy Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextChildSupport Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextContainerProxy Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextEvent Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextMembershipEvent Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextMembershipListener Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextProxy Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextServiceAvailableEvent Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextServiceProvider Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextServiceProviderBeanInfo Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextServiceRevokedEvent Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextServiceRevokedListener Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextServices Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextServicesListener Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextServicesSupport Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextServicesSupport.BCSSServiceProvider
subclasses may subclass this nested class to add behaviors for each BeanContextServicesProvider.
BeanContextSupport Deprecated, for removal: This API element is subject to removal in a future version.
BeanContextSupport.BCSIterator
protected final subclass that encapsulates an iterator but implements a noop remove() method.

© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/java/beans/beancontext/package-summary.html