java.beans.beancontext
Interface BeanContextMembershipListener

All Superinterfaces:
EventListener

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
 void childrenAdded(BeanContextMembershipEvent event)
          When beans are added to a BeanContext, this method is called to fire the event.
 void childrenRemoved(BeanContextMembershipEvent event)
          When beans are removed from a BeanContext, this method is called to fire the event.
 

Method Detail

childrenAdded

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:
Collection.add(java.lang.Object)

childrenRemoved

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:
Collection.remove(java.lang.Object)