org.escot.event
Class BeanWiringEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.escot.event.WiringEvent
              |
              +--org.escot.event.BeanWiringEvent
All Implemented Interfaces:
Serializable

public class BeanWiringEvent
extends WiringEvent

BeanWiringEvent is used to notify interested parties that a broker's set of wires involving a specific bean has changed.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BeanWiringEvent(Object source, Wire wire, EscotFeature targetFeature, EscotFeature associatedFeature)
           
 
Method Summary
 EscotFeature getAssociatedFeature()
          The other feature in the wire, which may or may not belong to the bean.
 EscotFeature getTargetFeature()
          The feature belonging to the bean.
 
Methods inherited from class org.escot.event.WiringEvent
getWire
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanWiringEvent

public BeanWiringEvent(Object source,
                       Wire wire,
                       EscotFeature targetFeature,
                       EscotFeature associatedFeature)
Method Detail

getTargetFeature

public EscotFeature getTargetFeature()
The feature belonging to the bean.

getAssociatedFeature

public EscotFeature getAssociatedFeature()
The other feature in the wire, which may or may not belong to the bean.