org.eclipse.jetty.jndi
类 DataSourceCloser
java.lang.Object
org.eclipse.jetty.jndi.DataSourceCloser
- 所有已实现的接口:
- Destroyable
public class DataSourceCloser
- extends Object
- implements Destroyable
Close a DataSource.
Some DataSource's need to be close (eg. Atomikos). This bean is a Destroyable and
may be added to any AggregateLifeCycle so that destroy()
will be called. The destroy() method calls any no-arg method called "close" on the passed DataSource.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceCloser
public DataSourceCloser(DataSource datasource)
DataSourceCloser
public DataSourceCloser(DataSource datasource,
String shutdownSQL)
destroy
public void destroy()
- 指定者:
- 接口
Destroyable 中的 destroy
Copyright © 2013. All Rights Reserved.