public class JBossWrapper extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.jca.adapters.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
|
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 © 2014 IronJacamar (http://www.ironjacamar.org)