Package org.firebirdsql.gds.ng.listeners
Interface ServiceListener
- 
- All Known Implementing Classes:
- ServiceListenerDispatcher
 
 public interface ServiceListenerListener for service events.- Since:
- 3.0
- Author:
- Mark Rotteveel
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddetached(FbService service)Called when theserviceconnection has been detachedvoiddetaching(FbService service)Called before theservicewill be detached.voidwarningReceived(FbService service, java.sql.SQLWarning warning)Called when a warning was received for theserviceconnection.
 
- 
- 
- 
Method Detail- 
detachingvoid detaching(FbService service) Called before theservicewill be detached.This event is intended for cleanup action, implementer should take care that no exceptions are thrown from this method. - Parameters:
- service- The service object that is detaching
 
 - 
detachedvoid detached(FbService service) Called when theserviceconnection has been detached- Parameters:
- service- The database object that was detached
 
 - 
warningReceivedvoid warningReceived(FbService service, java.sql.SQLWarning warning) Called when a warning was received for theserviceconnection.In implementation it is possible that some warnings are not sent to listeners on the database, but only to listeners on specific connection derived objects. - Parameters:
- service- service receiving the warning
- warning- Warning
 
 
- 
 
-