Package org.strecks.interceptor

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

Related Classes of org.strecks.interceptor.HistoryRecorder

Copyright © 2018 www.massapicom. 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.