|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ca.jcs.cfg.ConnectorConfig
com.ca.jcs.meta.MetaConnectorConfig
com.ca.jcs.meta.MetaPoolingConnectorConfig
com.ca.jcs.jndi.JNDIMetaConnectorConfig
public class JNDIMetaConnectorConfig
Configuration which basically allows all GenericObjectPool.Config properties to be set via bean
getters/setters, and allows a map of settings to be provided which override any default settings in code.
GenericObjectPool| Field Summary | |
|---|---|
static ExceptionRetryGroup |
DEFAULT_EXCEPTION_RETRY_GROUP
Default retriable messages keyed against RETRIABLE_EXCEPTION_MESSAGES_KEY:
"Connection refused", "Connection reset" - can be added to via connector.xml. |
static String |
RETRIABLE_EXCEPTION_MESSAGES_KEY
Key in ConnectorConfig.getExceptionRetryMap() which can be used to
provide strings to be searched for in exception messages, which signify
retriable (aka "soft" / transient) failures when attempting to get a JNDI connection. |
static String |
SSL_PROTOCOL_VALUE
Standard value expected by JNDI for secure protocol. |
| Fields inherited from class com.ca.jcs.meta.MetaPoolingConnectorConfig |
|---|
poolConfig |
| Fields inherited from class com.ca.jcs.cfg.ConnectorConfig |
|---|
CONFIG_LOG |
| Constructor Summary | |
|---|---|
JNDIMetaConnectorConfig()
|
|
| Method Summary | |
|---|---|
Boolean |
getForcePagedResults()
|
Map<String,String> |
getJndiEnv()
|
boolean |
isLazyConnect()
Force lazy to be false so that supported LDAP controls can be discovered. |
void |
setForcePagedResults(Boolean forcePagedResults)
See documentation for getForcePagedResults(). |
void |
setJndiEnv(Map<String,String> jndiEnv)
|
void |
setLazyConnect(boolean b)
When true a connector implementation should not attempt to get a connection from the pool immediately. |
| Methods inherited from class com.ca.jcs.meta.MetaPoolingConnectorConfig |
|---|
getPoolConfig, setPoolConfig |
| Methods inherited from class com.ca.jcs.meta.MetaConnectorConfig |
|---|
getAllowNonFilterableNamingAttrs, getContainerBaseObjectClass, getVirtualContainers, setAllowNonFilterableNamingAttrs, setContainerBaseObjectClass, setVirtualContainers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SSL_PROTOCOL_VALUE
public static final String RETRIABLE_EXCEPTION_MESSAGES_KEY
ConnectorConfig.getExceptionRetryMap() which can be used to
provide strings to be searched for in exception messages, which signify
retriable (aka "soft" / transient) failures when attempting to get a JNDI connection.
public static final ExceptionRetryGroup DEFAULT_EXCEPTION_RETRY_GROUP
RETRIABLE_EXCEPTION_MESSAGES_KEY:
"Connection refused", "Connection reset" - can be added to via connector.xml.
| Constructor Detail |
|---|
public JNDIMetaConnectorConfig()
| Method Detail |
|---|
public Map<String,String> getJndiEnv()
public void setJndiEnv(Map<String,String> jndiEnv)
public boolean isLazyConnect()
isLazyConnect in class ConnectorConfigpublic void setLazyConnect(boolean b)
ConnectorConfig
setLazyConnect in class ConnectorConfigpublic Boolean getForcePagedResults()
public void setForcePagedResults(Boolean forcePagedResults)
getForcePagedResults().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||