It provides a consistent set of adapters in memory, providing an {@link ObjectAdapter adapter} for the POJOs that are in use ensuring that thesame object is not loaded twice into memory.
Each POJO is given an {@link ObjectAdapter adapter} so that the framework canwork with the POJOs even though it does not understand their types. Each POJO maps to an {@link ObjectAdapter adapter} and these are reused.
It provides a consistent set of adapters in memory, providing an {@link ObjectAdapter adapter} for the POJOs that are in use ensuring that thesame object is not loaded twice into memory.
Each POJO is given an {@link ObjectAdapter adapter} so that the framework canwork with the POJOs even though it does not understand their types. Each POJO maps to an {@link ObjectAdapter adapter} and these are reused.
AdapterManager
defines the service interface for a manager for object adaption. The adapter manager coordinates the registered {@link AdapterFactory} services on behalf of clients wishing to adapt objectsto other types. One such client is the {@link SlingAdaptable} class, whichuses the implementation of this bundle to adapt "itself". Clients may either extend from the {@link SlingAdaptable} class or access theAdapterManager
service from the OSGi service registry to adapt objects to other types.
This interface is not intended to be implemented by clients.
IAdapterManager
. It provides fast lookup of property values with the following semantics: class X extends Y implements A, B
Object
getInterfaces
(in the example, X's superinterfaces then Y's superinterfaces)
|
|
|
|
|
|
|
|
|
|