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 yields better performance than 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 be wrapped in MonitoredContext (or MonitoredDirContext) objects? If monitored contexts are being created, any JNDI service provider errors which occur as a result of operations performed on the contexts are reported, and the associated resource pool objects are invalidated.

True

 
 
loading table of contents...