public final class ConnectionContextServiceFactory
extends java.lang.Object
ConnectionContextService instances based on system configuration.
The factory reads the system property "efm.contextPool.enabled" to determine which implementation to create:
true (default): Creates a PoolConnectionContextServiceImpl that pools
and reuses context objectsfalse: Creates a SimpleConnectionContextServiceImpl that creates new
context instances on each acquire call| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
POOLING_ENABLED_PROPERTY |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionContextService |
getInstance() |
public static final java.lang.String POOLING_ENABLED_PROPERTY
public static ConnectionContextService getInstance()