AdapterFactory
interface defines the API for helpers which may be provided to enhance the adaptability of adaptable objects. Implementations of this interface are registered as OSGi services and are used by the {@link AdapterManager} to adapt objects on demand. TheAdapterFactory
services are not really intended to be used by clients directly.
The {@link AdapterManager} implementations ensures that the{@link #getAdapter(Object,Class)} method is only called for the combinationof adaptable and adapter type which is allowed as per the service registration properties {@link #ADAPTABLE_CLASSES} and{@link #ADAPTER_CLASSES}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|