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