Class DataSourceCloser
java.lang.Object
org.eclipse.jetty.plus.jndi.DataSourceCloser
- All Implemented Interfaces:
 Destroyable
Close a DataSource.
Some 
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.- 
Constructor Summary
ConstructorsConstructorDescriptionDataSourceCloser(DataSource datasource) DataSourceCloser(DataSource datasource, String shutdownSQL)  - 
Method Summary
 
- 
Constructor Details
- 
DataSourceCloser
 - 
DataSourceCloser
 
 - 
 - 
Method Details
- 
destroy
public void destroy()- Specified by:
 destroyin interfaceDestroyable
 
 -