public interface DriverAction
DriverAction implementation is not intended to be used
directly by applications. A JDBC Driver may choose
to create its
DriverAction implementation in a private class
to avoid it being called directly.
The JDBC driver's static initialization block must call
DriverManager.registerDriver(java.sql.Driver, java.sql.DriverAction) in order
DriverAction implementation to
call when the JDBC driver is de-registered.
deregister method is intended only to be used by JDBC Drivers
and not by applications. JDBC drivers are recommended to not implement
DriverAction in a public class. If there are active
connections to the database at the time that the
method is called, it is implementation specific as to whether the
connections are closed or allowed to continue. Once this method is
called, it is implementation specific as to whether the driver may
limit the ability to create new connections to the database, invoke
Driver methods or throw a
Consult your JDBC driver's documentation for additional information
on its behavior.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.