This component is a JNDIInitialContextPool used to pool connections to the LDAP server. This component’s class extends atg.service.resourcepool.ResourcePool. See the Core Dynamo Services: Resource Pools section of the ATG Programming Guide and the Javadoc for the ResourcePool class in the ATG API Reference for more information about the many properties available for configuring a connection pool. Getting connections from a resource pool results in better performance than would creating a new connection for each request that needs to access the LDAP server. The following properties are particular to the JNDIInitialContextPool:

Property

Description

Default Value

$class

class name

atg.service.resourcepool.
JNDIInitialContextPool

 

JNDIEnvironment

The Nucleus address of the JNDI environment component to use when creating initial context objects

InitialContextEnvironment

 

createDirContexts

Should InitialDirContext objects be created rather than InitialContext objects?

true

 

createMonitoredContexts

Should the resource pool InitialContext (or InitialDirContext) objects should be wrapped in MonitoredContext (or MonitoredDirContext) objects? If monitored contexts are being created, then any JNDI service provider errors which occur as a result of operations performed on the contexts will be reported, and the associated resource pool objects will be invalidated.

True

 
 
loading table of contents...