javax.constraints.extra
Interface Propagator

All Superinterfaces:
java.util.EventListener

public interface Propagator
extends java.util.EventListener

This interface represents propagators that used to propagate PropagationEvents when new(!) custom constraints are defined. It does NOT specify how to implement actual propagators (a.k.a observers, listeners, or just constraints) inside reference implementations.


Method Summary
 void propagate(PropagationEvent event)
          Describes the propagation logic of the occurred event.
 

Method Detail

propagate

void propagate(PropagationEvent event)
               throws java.lang.Exception
Describes the propagation logic of the occurred event.

Parameters:
event - the occurred event whose propagation logic is specified in this method.
Throws:
java.lang.Exception