java.beans.beancontext

Interface BeanContextMembershipListener

public interface BeanContextMembershipListener extends EventListener

This is the interface to which BeanContextMembershipEvents are sent. This happens when children are added to or removed from a BeanContext.

Since: JDK1.2

Method Summary
voidchildrenAdded(BeanContextMembershipEvent event)
When beans are added to a BeanContext, this method is called to fire the event.
voidchildrenRemoved(BeanContextMembershipEvent event)
When beans are removed from a BeanContext, this method is called to fire the event.

Method Detail

childrenAdded

public void childrenAdded(BeanContextMembershipEvent event)
When beans are added to a BeanContext, this method is called to fire the event.

Parameters: event the event, including which children were added.

See Also: BeanContext

childrenRemoved

public void childrenRemoved(BeanContextMembershipEvent event)
When beans are removed from a BeanContext, this method is called to fire the event.

Parameters: event the event, including which children were removed.

See Also: BeanContext