Examples of HistoryRecorder


Examples of org.strecks.interceptor.HistoryRecorder

    assert null == reader.getAfterInterceptors();

    ActionLoggingInterceptor actionLoggingInterceptor = new ActionLoggingInterceptor();
    reader.addBeforeInterceptor(actionLoggingInterceptor);

    HistoryRecorder recorder = new HistoryRecorder();
    reader.addAfterInterceptor(recorder);

    assert actionLoggingInterceptor == reader.getBeforeInterceptors().iterator().next();
    assert recorder == reader.getAfterInterceptors().iterator().next();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.