com.ibm.wsspi.adaptable.module
Interface Adaptable
All known subinterfaces:
- public interface Adaptable
Method Summary
Modifier and Type | Method and Description |
---|---|
|
adapt(java.lang.Class<T> adaptTarget)
Adapt this object into an object of the passed type, if possible.
|
Method Detail
adapt
- <T> T adapt(java.lang.Class<T> adaptTarget)
- throws UnableToAdaptException
Adapt this object into an object of the passed type, if possible.
Type Parameters:
T
- The type to adapt to & return. Parameters:
adaptTarget
- The type to adapt to. Returns:
instance of type if successful, null otherwise.
Throws: