Class InterceptingRepositoryConnectionWrapper

All Implemented Interfaces:
AutoCloseable, DelegatingRepositoryConnection, InterceptingRepositoryConnection, RepositoryConnection

public class InterceptingRepositoryConnectionWrapper extends RepositoryConnectionWrapper implements InterceptingRepositoryConnection
Wrapper that notifies interceptors of events on RepositoryConnections 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.
Author:
Herko ter Horst
See Also: