unwrap
Return an object that implements the given target
type, unwrapping delegate or proxy if necessary using the specified unwrapInterface
.
Return
an object that implements the target type or null
Since
2.3.8
Parameters
dataSource
the datasource to handle
unwrapInterface
the interface that the target type must implement
target
the type that the result must implement
<I>
the interface that the target type must implement
<T>
the target type
See also
Return an object that implements the given target
type, unwrapping delegate or proxy if necessary. Consider using unwrap as unwrapping won't be considered if target
is not an interface.
Return
an object that implements the target type or null
Parameters
dataSource
the datasource to handle
target
the type that the result must implement
<T>
the target type