public class JdbcResourceReleaser extends Object implements ResourceReleaser
DriverManager to unregister Driver registered by the artifact class loader.
IMPORTANT: this class is on a different package than the rest of the classes in this module. The reason of that is that this class must be loaded by each artifact class loader that is being disposed. So, it cannot contain any of the prefixes that force a class to be loaded from the container.
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPOSITE_CLASS_LOADER_CLASS_NAME |
static String |
DIAGNOSABILITY_BEAN_NAME |
static String |
ORACLE_DRIVER_TIMER_THREAD_CLASS_NAME |
static Pattern |
ORACLE_DRIVER_TIMER_THREAD_PATTERN |
| Constructor and Description |
|---|
JdbcResourceReleaser() |
| Modifier and Type | Method and Description |
|---|---|
void |
release()
Attempts to release, during an
Artifact undeployment, resources that were not
explicitly released and could cause a memory leak. |
public static final String DIAGNOSABILITY_BEAN_NAME
public static final String ORACLE_DRIVER_TIMER_THREAD_CLASS_NAME
public static final String COMPOSITE_CLASS_LOADER_CLASS_NAME
public static final Pattern ORACLE_DRIVER_TIMER_THREAD_PATTERN
public void release()
ResourceReleaserArtifact undeployment, resources that were not
explicitly released and could cause a memory leak.release in interface ResourceReleaserCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.