DataSource's need to be close (eg. Atomikos). This bean is a Destroyable and
may be added to any ContainerLifeCycle so that destroy()
will be called. The destroy() method calls any no-arg method called "close" on the passed DataSource.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final DataSource | |
| pack-priv final String | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| _datasource | back to summary |
|---|---|
| pack-priv final DataSource _datasource | |
| _shutdown | back to summary |
|---|---|
| pack-priv final String _shutdown | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| DataSourceCloser | back to summary |
|---|---|
| public DataSourceCloser(DataSource datasource) | |
| DataSourceCloser | back to summary |
|---|---|
| public DataSourceCloser(DataSource datasource, String shutdownSQL) | |
| destroy | back to summary |
|---|---|
| public void destroy() Implements org.
| |