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.


构造方法摘要
DataSourceCloser(DataSource datasource)
           
DataSourceCloser(DataSource datasource, String shutdownSQL)
           
 
方法摘要
 void destroy()
           
 
从类 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.