public interface InterceptorDataSourceSwitcherService extends DataSourceSwitcherService
| Modifier and Type | Method and Description |
|---|---|
<Type extends ConnectionInterceptor> |
disableInterceptor(Class<Type> type)
Zakázání interceptorů
|
void |
disableInterceptors()
Zakázání všech interceptorů
|
void |
enableInterceptors()
Povolení všech interceptorů
|
<Type extends ConnectionInterceptor> |
enableInterceptors(Class<Type> type)
Zakázání interceptorů
|
void |
setConnectionInterceptorClasses(List<Class<? extends ConnectionInterceptor>> connectionInterceptorClasses) |
void |
setConnectionInterceptors(List<ConnectionInterceptor> connectionInterceptors) |
execute, getCurrentDataSource, getDataSources, getDataSources, isAvailablevoid disableInterceptors()
void enableInterceptors()
<Type extends ConnectionInterceptor> void disableInterceptor(Class<Type> type)
type - typ zakazovanách interceptorů<Type extends ConnectionInterceptor> void enableInterceptors(Class<Type> type)
type - typ povolovaných interceptorůvoid setConnectionInterceptorClasses(List<Class<? extends ConnectionInterceptor>> connectionInterceptorClasses)
connectionInterceptorClasses - Seznam tříd definujicí operace, které se mají provést po vyzvednutí spojení do DBvoid setConnectionInterceptors(List<ConnectionInterceptor> connectionInterceptors)
connectionInterceptors - seznam operace, které se mají provést po vyzvednutí spojení do DBCopyright © 2017 DataLite. All rights reserved.