public static interface Connection.ConnectionLifecycleListener extends java.util.EventListener
void lifecycleEvent(Connection conn, Connection.Lifecycle previous, Connection.Lifecycle current)
EventListeneris registered with a
Connectionthis method is called whenever that
Connection's lifecycle changes. Note that the lifecycle may have changed again by the time this method is called so the
Connection's current lifecycle may be different from the value of
previous- the previous value of the lifecycle
current- the new value of the lifecycle
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
DRAFT JDBC 4.4 EA