Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

isWrapperFor Method (SQLServerXADataSource)

Indicates whether this object is a wrapper for the specified interface.


public boolean isWrapperFor(Class iface)

iface

A class defining an interface.

true if this object implements the interface or wraps an object that implements the interface. Otherwise, false.

The isWrapperFor method and the unwrap method are defined by the java.sql.Wrapper interface, which is introduced in the JDBC 4.0 Spec.

If this method returns true, calling unwrap with the same argument will succeed.

For more information, see Wrappers and Interfaces.

Show:
© 2015 Microsoft