public interface Wrapped
DataSource might want to expose access to the DataSource or
its Connection instances.| Modifier and Type | Method and Description |
|---|---|
boolean |
isUnwrappableAs(java.lang.Class unwrapType)
Can this wrapped service be unwrapped as the indicated type?
|
<T> T |
unwrap(java.lang.Class<T> unwrapType)
Unproxy the service proxy
|
boolean isUnwrappableAs(java.lang.Class unwrapType)
unwrapType - The type to check.<T> T unwrap(java.lang.Class<T> unwrapType)
unwrapType - The java type as which to unwrap this instance.UnknownUnwrapTypeException - if the servicebe unwrapped as the indicated typeCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.