    001package com.hammurapi.common;
    002
    003/**
    004 * Observer (change listener).
    005 * @author Pavel Vlasov
    006 *
    007 * @param <T>
    008 */
    009public interface Observer<T> {
    010
    011        /**
    012         * This method is invoked by observables when observable state changes.
    013         * @param observable
    014         * @param args
    015         */
    016        void update(T observable, Object...args);
    017
    018}