java.sql.Wrapper |
Known Indirect Subclasses |
This class is an actual usage of the wrapper pattern for JDBC classes. Developers can get the delegate instance when the instance may be a proxy class.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
If the caller is a wrapper of the class or implements the given
interface, the methods return false and vice versa.
| |||||||||||
Returns an object that implements the given interface.
|
If the caller is a wrapper of the class or implements the given interface, the methods return false and vice versa.
iface | - the class that defines the interface |
---|
SQLException | - when an error occurs when judges the object |
---|
Returns an object that implements the given interface. If the caller is not a wrapper, a SQLException will be thrown.
iface | - the class that defines the interface |
---|
SQLException | - if there is no object implementing the specific interface |
---|