Class InterceptingRepositoryWrapper

All Implemented Interfaces:
DelegatingRepository, InterceptingRepository, Repository

public class InterceptingRepositoryWrapper extends RepositoryWrapper implements InterceptingRepository
Wrapper that notifies interceptors of events on Repositories before they happen. Any interceptor can block the operation by returning true from the relevant notification method. To do so will also cause the notification process to stop, i.e. no other interceptors will be notified. The order in which interceptors are notified is unspecified.
Herko ter Horst
See Also:
  • Constructor Details

    • InterceptingRepositoryWrapper

      public InterceptingRepositoryWrapper()
    • InterceptingRepositoryWrapper

      public InterceptingRepositoryWrapper(Repository delegate)
  • Method Details