Package org.jpatterns.gof
Annotation Type ObserverPattern
-
@Retention(RUNTIME) @Target(TYPE) @Documented @DesignPattern(type=BEHAVIORAL, related={MediatorPattern.class,SingletonPattern.class}) public @interface ObserverPattern
Intent [GoF, pg 293]: Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
- Since:
- 2010-08-09
- Author:
- Heinz Kabutz
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringcommentjava.lang.Class[]participants
-