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.
Interface Summary Interface Description BeanContextThe BeanContext acts a logical hierarchical container for JavaBeans. BeanContextChildJavaBeans 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. BeanContextChildComponentProxyThis interface is implemented by
BeanContextChildrenthat have an AWT
Componentassociated with them.
BeanContextContainerProxyThis interface is implemented by BeanContexts' that have an AWT Container associated with them. BeanContextMembershipListenerCompliant BeanContexts fire events on this interface when the state of the membership of the BeanContext changes. BeanContextProxyThis interface is implemented by a JavaBean that does not directly have a BeanContext(Child) associated with it (via implementing that interface or a subinterface thereof), but has a public BeanContext(Child) delegated from it. BeanContextServiceProviderOne of the primary functions of a BeanContext is to act a as rendezvous between JavaBeans, and BeanContextServiceProviders. BeanContextServiceProviderBeanInfoA BeanContextServiceProvider implementor who wishes to provide explicit information about the services their bean may provide shall implement a BeanInfo class that implements this BeanInfo subinterface and provides explicit information about the methods, properties, events, etc, of their services. BeanContextServiceRevokedListenerThe listener interface for receiving
BeanContextServicesThe BeanContextServices interface provides a mechanism for a BeanContext to expose generic "services" to the BeanContextChild objects within. BeanContextServicesListenerThe listener interface for receiving
Class Summary Class Description BeanContextChildSupportThis is a general support class to provide support for implementing the BeanContextChild protocol. BeanContextEvent
BeanContextEventis the abstract root event class for all events emitted from, and pertaining to the semantics of, a
BeanContextMembershipEventencapsulates the list of children added to, or removed from, the membership of a particular
BeanContextServiceAvailableEventThis event type is used by the BeanContextServicesListener in order to identify the service being registered. BeanContextServiceRevokedEventThis event type is used by the
BeanContextServiceRevokedListenerin order to identify the service being revoked.
BeanContextServicesSupportThis helper class provides a utility implementation of the java.beans.beancontext.BeanContextServices interface. BeanContextServicesSupport.BCSSServiceProvidersubclasses may subclass this nested class to add behaviors for each BeanContextServicesProvider. BeanContextSupportThis helper class provides a utility implementation of the java.beans.beancontext.BeanContext interface. BeanContextSupport.BCSIteratorprotected final subclass that encapsulates an iterator but implements a noop remove() method.