public interface BeanContextMembershipListener extends EventListener
BeanContextMembershipEvent
s are sent.
This happens when children are added to or removed from a
BeanContext
.Modifier and Type | Method and Description |
---|---|
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. |
void childrenAdded(BeanContextMembershipEvent event)
BeanContext
,
this method is called to fire the event.event
- the event, including which children were added.Collection.add(java.lang.Object)
void childrenRemoved(BeanContextMembershipEvent event)
BeanContext
,
this method is called to fire the event.event
- the event, including which children were removed.Collection.remove(java.lang.Object)