public class InterceptingRepositoryWrapper extends RepositoryWrapper implements InterceptingRepository
InterceptingRepositoryConnectionWrapper| Constructor and Description |
|---|
InterceptingRepositoryWrapper() |
InterceptingRepositoryWrapper(Repository delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRepositoryConnectionInterceptor(RepositoryConnectionInterceptor interceptor)
Registers a RepositoryConnectionInterceptor that will receive
notifications of operations that are performed on any connections that are
created by this repository.
|
void |
addRepositoryInterceptor(RepositoryInterceptor interceptor)
Registers a RepositoryInterceptor that will receive
notifications of operations that are performed on this repository.
|
InterceptingRepositoryConnection |
getConnection() |
void |
initialize() |
void |
removeRepositoryConnectionInterceptor(RepositoryConnectionInterceptor interceptor)
Removes a registered RepositoryConnectionInterceptor from this
repository.
|
void |
removeRepositoryInterceptor(RepositoryInterceptor interceptor)
Removes a registered RepositoryInterceptor from this
repository.
|
void |
setDataDir(File dataDir) |
void |
shutDown() |
getDataDir, getDelegate, getValueFactory, isInitialized, isWritable, setDelegate, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDataDir, getValueFactory, isInitialized, isWritablepublic InterceptingRepositoryWrapper()
public InterceptingRepositoryWrapper(Repository delegate)
public void addRepositoryInterceptor(RepositoryInterceptor interceptor)
addRepositoryInterceptor in interface InterceptingRepositorypublic void removeRepositoryInterceptor(RepositoryInterceptor interceptor)
removeRepositoryInterceptor in interface InterceptingRepositorypublic void addRepositoryConnectionInterceptor(RepositoryConnectionInterceptor interceptor)
addRepositoryConnectionInterceptor in interface InterceptingRepositorypublic void removeRepositoryConnectionInterceptor(RepositoryConnectionInterceptor interceptor)
removeRepositoryConnectionInterceptor in interface InterceptingRepositorypublic InterceptingRepositoryConnection getConnection() throws RepositoryException
getConnection in interface RepositorygetConnection in class RepositoryWrapperRepositoryExceptionpublic void initialize()
throws RepositoryException
initialize in interface Repositoryinitialize in class RepositoryWrapperRepositoryExceptionpublic void setDataDir(File dataDir)
setDataDir in interface RepositorysetDataDir in class RepositoryWrapperpublic void shutDown()
throws RepositoryException
shutDown in interface RepositoryshutDown in class RepositoryWrapperRepositoryExceptionCopyright © 2001-2014 Aduna. All Rights Reserved.