C
- type of control produced by the control processorpublic class ProviderConfig<C> extends AbstractConfig
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger
Logger for this class.
|
Constructor and Description |
---|
ProviderConfig() |
Modifier and Type | Method and Description |
---|---|
ConnectionStrategy |
getConnectionStrategy()
Returns the connection strategy.
|
ControlProcessor<C> |
getControlProcessor()
Returns the control processor.
|
ResultCode[] |
getOperationExceptionResultCodes()
Returns the result codes that trigger an operation exception.
|
Map<String,Object> |
getProperties()
Returns provider specific properties.
|
void |
setConnectionStrategy(ConnectionStrategy strategy)
Sets the connection strategy.
|
void |
setControlProcessor(ControlProcessor<C> processor)
Sets the control processor.
|
void |
setOperationExceptionResultCodes(ResultCode... codes)
Sets the result codes that trigger an operation exception.
|
void |
setProperties(Map<String,Object> props)
Sets provider specific properties.
|
String |
toString() |
checkImmutable, checkStringInput, makeImmutable
public ResultCode[] getOperationExceptionResultCodes()
public void setOperationExceptionResultCodes(ResultCode... codes)
codes
- ldap result codespublic Map<String,Object> getProperties()
public void setProperties(Map<String,Object> props)
props
- map of additional provider propertiespublic ConnectionStrategy getConnectionStrategy()
public void setConnectionStrategy(ConnectionStrategy strategy)
strategy
- for making connectionspublic ControlProcessor<C> getControlProcessor()
public void setControlProcessor(ControlProcessor<C> processor)
processor
- control processorCopyright © 2022. All rights reserved.