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 |
DIAGNOSABILITY_BEAN_NAME |
| 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 void release()
ResourceReleaserArtifact undeployment, resources that were not explicitly released and could cause a
memory leak.release in interface ResourceReleaserCopyright © 2003–2019 MuleSoft, Inc.. All rights reserved.