public class ProxyConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProxyConfig.Builder
Builder to create a
ProxyConfig . |
Constructor and Description |
---|
ProxyConfig() |
public static ProxyConfig.Builder builder()
ProxyConfig.Builder
.public void setProxyFactoryFactory(ProxyFactoryFactory proxyFactoryFactory)
ProxyFactoryFactory
.
When ProxyFactoryFactory
is set, ProxyFactoryFactory.create(ProxyConfig)
method
is called once to generate ProxyFactory
. The generated ProxyFactory
instance is
always returned by getProxyFactory()
unless this method is called to set a new
ProxyFactoryFactory
.proxyFactoryFactory
- factory for ProxyFactory
IllegalArgumentException
- if proxyFactoryFactory
is null
public ProxyFactory getProxyFactory()
ProxyFactory
which is generated from the specified ProxyFactoryFactory
.
Always same instance of ProxyFactory
is returned.public CompositeProxyExecutionListener getListeners()
CompositeProxyExecutionListener
that contains registered ProxyExecutionListener
.public void addListener(ProxyExecutionListener listener)
ProxyExecutionListener
.listener
- a listener to registerIllegalArgumentException
- if proxyFactoryFactory
is null
public ConnectionIdManager getConnectionIdManager()
ConnectionIdManager
.public void setConnectionIdManager(ConnectionIdManager connectionIdManager)
ConnectionIdManager
.connectionIdManager
- connection id managerIllegalArgumentException
- if connectionIdManager
is null
public void setClock(Clock clock)
Clock
to use to calculate the elapsed time.clock
- clock to useIllegalArgumentException
- if clock
is null
CallbackHandlerSupport
public BindParameterConverter getBindParameterConverter()
public void setBindParameterConverter(BindParameterConverter bindParameterConverter)
bindParameterConverter
- bind parameter converterIllegalArgumentException
- if bindParameterConverter
is null
public ResultRowConverter getResultRowConverter()
ResultRowConverter
.public void setResultRowConverter(ResultRowConverter resultRowConverter)
ResultRowConverter
.resultRowConverter
- the result row converterIllegalArgumentException
- if resultRowConverter
is null
Copyright © 2024. All rights reserved.