org.apache.avalon.composition.event
Class CompositionEvent
java.lang.Object
java.util.EventObject
org.apache.avalon.composition.event.CompositionEvent
- All Implemented Interfaces:
- Serializable
- public class CompositionEvent
- extends EventObject
A event raised by a containment model as a result of the
addition or removal of a subsidiary model.
- Version:
- $Revision: 1.7 $ $Date: 2004/02/24 22:18:21 $
- Author:
- Avalon Development Team
- See Also:
- Serialized Form
CompositionEvent
public CompositionEvent(ContainmentModel source,
DeploymentModel child)
- Create a CompositionEvent event.
- Parameters:
source
- the comtainment model raising the eventchild
- the model that is the subject of composition
getChild
public DeploymentModel getChild()
- Return the child that was added or removed from the containment
model.
- Returns:
- the source containment model
getContainmentModel
public ContainmentModel getContainmentModel()
- Return the the containment model that generated the event.
- Returns:
- the source containment model
toString
public String toString()
Copyright © The Apache Software Foundation. All Rights Reserved.