|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.AbstractConfig
org.ldaptive.provider.ProviderConfig<C>
C - type of control produced by the control processorpublic class ProviderConfig<C>
Contains configuration data common to providers.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
logger
Logger for this class. |
| Constructor Summary | |
|---|---|
ProviderConfig()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.ldaptive.AbstractConfig |
|---|
checkImmutable, checkStringInput, makeImmutable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger logger
| Constructor Detail |
|---|
public ProviderConfig()
| Method Detail |
|---|
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 processorpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||