public class JBossWrapper extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected static AdaptersBundle |
bundle
The bundle
|
Constructor and Description |
---|
JBossWrapper()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected Object |
getWrappedObject()
Get the wrapped object - override in sub-classes
|
boolean |
isWrapperFor(Class<?> iface)
Is a wrapper for
|
<T> T |
unwrap(Class<T> iface)
Unwrap
|
protected static AdaptersBundle bundle
public boolean isWrapperFor(Class<?> iface) throws SQLException
iface
- The interfaceSQLException
- Thrown if an error occurspublic <T> T unwrap(Class<T> iface) throws SQLException
T
- the typeiface
- The interfaceSQLException
- Thrown if an error occursprotected Object getWrappedObject() throws SQLException
SQLException
- Thrown if an error occursCopyright © 2021 JBoss by Red Hat. All rights reserved.