public static class AdapterFactoryBridge.LazyAdapterFactory extends java.lang.Object implements IAdapterFactory
SERVICE_PROPERTY_ADAPTABLE_CLASS, SERVICE_PROPERTY_ADAPTER_NAMES| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAdapter(java.lang.Object adaptableObject,
java.lang.Class<T> adapterType)
Returns an object which is an instance of the given class
associated with the given object.
|
java.lang.Class<?>[] |
getAdapterList()
Returns the collection of adapter types handled by this
factory.
|
public <T> T getAdapter(java.lang.Object adaptableObject,
java.lang.Class<T> adapterType)
IAdapterFactorynull if
no such object can be found.getAdapter in interface IAdapterFactoryadaptableObject - the adaptable object being queried
(usually an instance of IAdaptable)adapterType - the type of adapter to look upnull if this adapter factory
does not have an adapter of the given type for the
given objectpublic java.lang.Class<?>[] getAdapterList()
IAdapterFactory
This method is generally used by an adapter manager
to discover which adapter types are supported, in advance
of dispatching any actual getAdapter requests.
getAdapterList in interface IAdapterFactory