addConnectionEventListener Method (SQLServerPooledConnection)

Registers the given event listener so that it will be notified when an event occurs on this SQLServerPooledConnection object.

public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)

参数

listener

A ConnectionEventListener object.

备注

This addConnectionEventListener method is specified by the addConnectionEventListener method in the javax.sql.PooledConnection interface.

另请参见

参考

SQLServerPooledConnection Class

概念

SQLServerPooledConnection Methods
SQLServerPooledConnection Members