Please not that it is explicitly left as an implementation detail whether each call to this method with the same type
yields the same object or a new object on each call.
Implementations of this method should document their adapted types as well as their behaviour with respect to returning newly created or not instance on each call.
@param < AdapterType> The generic type to which this resource is adaptedto
@param type The Class object of the target type, such asjavax.jcr.Node.class
or java.io.File.class
@return The adapter target or null
if the resource cannotadapt to the requested type
|
|