Uses of Package
java.beans.beancontext
Package
Description
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides classes and interfaces relating to bean context.
-
-
ClassDescriptionThe BeanContext acts a logical hierarchical container for JavaBeans.JavaBeans wishing to be nested within, and obtain a reference to their execution environment, or context, as defined by the BeanContext sub-interface shall implement this interface.This is a general support class to provide support for implementing the BeanContextChild protocol.
BeanContextEvent
is the abstract root event class for all events emitted from, and pertaining to the semantics of, aBeanContext
.ABeanContextMembershipEvent
encapsulates the list of children added to, or removed from, the membership of a particularBeanContext
.Compliant BeanContexts fire events on this interface when the state of the membership of the BeanContext changes.This event type is used by the BeanContextServicesListener in order to identify the service being registered.One of the primary functions of a BeanContext is to act a as rendezvous between JavaBeans, and BeanContextServiceProviders.This event type is used by theBeanContextServiceRevokedListener
in order to identify the service being revoked.The listener interface for receivingBeanContextServiceRevokedEvent
objects.The BeanContextServices interface provides a mechanism for a BeanContext to expose generic "services" to the BeanContextChild objects within.The listener interface for receivingBeanContextServiceAvailableEvent
objects.subclasses may subclass this nested class to add behaviors for each BeanContextServicesProvider.This helper class provides a utility implementation of the java.beans.beancontext.BeanContext interface.