Package com.ibm.wsspi.adaptable.module
Interface Adaptable
- 
- All Known Subinterfaces:
- Container,- Entry,- InterpretedContainer
 
 public interface AdaptableProvides the ability for an object implementing the interface to convert itself to another type of object.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Tadapt(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 UnableToAdaptExceptionAdapt 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:
- UnableToAdaptException
 
 
- 
 
-