public static final class ProxyConfig.Builder extends Object
ProxyConfig.
For attributes that are not specified, default values will be used.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ProxyConfig.Builder |
bindParameterConverter(BindParameterConverter bindParameterConverter)
|
ProxyConfig |
build()
Build a
ProxyConfig. |
ProxyConfig.Builder |
clock(Clock clock)
Set
Clock. |
ProxyConfig.Builder |
connectionIdManager(ConnectionIdManager connectionIdManager)
Set
ConnectionIdManager. |
ProxyConfig.Builder |
listener(ProxyExecutionListener listener)
Add a
ProxyExecutionListener. |
ProxyConfig.Builder |
proxyFactoryFactory(ProxyFactoryFactory proxyFactoryFactory)
Set
ProxyFactoryFactory. |
ProxyConfig.Builder |
resultRowConverter(ResultRowConverter resultRowConverter)
Set
ResultRowConverter. |
public ProxyConfig.Builder listener(ProxyExecutionListener listener)
ProxyExecutionListener.listener - a listener to addIllegalArgumentException - if listener is nullpublic ProxyConfig.Builder connectionIdManager(ConnectionIdManager connectionIdManager)
ConnectionIdManager.connectionIdManager - connectionIdManager to be usedIllegalArgumentException - if connectionIdManager is nullpublic ProxyConfig.Builder proxyFactoryFactory(ProxyFactoryFactory proxyFactoryFactory)
ProxyFactoryFactory.proxyFactoryFactory - proxyFactoryFactory to be usedIllegalArgumentException - if proxyFactoryFactory is nullpublic ProxyConfig.Builder clock(Clock clock)
Clock.clock - clock to be usedIllegalArgumentException - if clock is nullpublic ProxyConfig.Builder bindParameterConverter(BindParameterConverter bindParameterConverter)
bindParameterConverter - bindParameterConverter to be usedIllegalArgumentException - if bindParameterConverter is nullpublic ProxyConfig.Builder resultRowConverter(ResultRowConverter resultRowConverter)
ResultRowConverter.resultRowConverter - resultRowConverter to be usedIllegalArgumentException - if resultRowConverter is nullpublic ProxyConfig build()
ProxyConfig.ProxyConfigCopyright © 2025. All rights reserved.