com.apelon.beans.dts.plugin.connection
Class DtsConnectionAdapter

java.lang.Object
  extended by com.apelon.beans.dts.plugin.connection.DtsConnectionAdapter
All Implemented Interfaces:
DtsConnectionListener, EventListener

public class DtsConnectionAdapter
extends Object
implements DtsConnectionListener

Provides a default 'do nothing' implementation for DtsConnectionListener methods.

Since:
DTS 3.0
Version:
1.0
Author:
Pete DiBetta, John Szinger, Abhay Sinha
See Also:
DtsConnectionEvent

Constructor Summary
DtsConnectionAdapter()
           
 
Method Summary
 void connectionClosed(DtsConnectionEvent event)
          Implement with appropriate action to be taken when a Connection has been closed.
 void connectionClosing(DtsConnectionEvent event)
          Implement with appropriate action to be taken when a Connection is closing.
 void connectionOpened(DtsConnectionEvent event)
          Implement with appropriate action to be taken when a new Connection has been created.
 void connectionWillClose(DtsConnectionEvent event, ConnectionCloseVeto vetoClose)
          Implement with appropriate action to be taken when a Connection will close.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DtsConnectionAdapter

public DtsConnectionAdapter()
Method Detail

connectionOpened

public void connectionOpened(DtsConnectionEvent event)
Implement with appropriate action to be taken when a new Connection has been created.

Specified by:
connectionOpened in interface DtsConnectionListener
Parameters:
event - DtsConnectionEvent object.

connectionWillClose

public void connectionWillClose(DtsConnectionEvent event,
                                ConnectionCloseVeto vetoClose)
Implement with appropriate action to be taken when a Connection will close. A request for not closing the connection can be set using ConnectionCloseVeto.

Specified by:
connectionWillClose in interface DtsConnectionListener
Parameters:
event - DtsConnectionEvent object.
vetoClose -

connectionClosing

public void connectionClosing(DtsConnectionEvent event)
Implement with appropriate action to be taken when a Connection is closing.

Specified by:
connectionClosing in interface DtsConnectionListener
Parameters:
event - DtsConnectionEvent object.

connectionClosed

public void connectionClosed(DtsConnectionEvent event)
Implement with appropriate action to be taken when a Connection has been closed.

Specified by:
connectionClosed in interface DtsConnectionListener
Parameters:
event - DtsConnectionEvent object.


Copyright © 2011. All Rights Reserved.