|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AdapterManagerLookup
Responsible for managing the adapters and identities for each and every
POJO that is being used by the framework.
It provides a consistent set of adapters in memory, providing an adapter for the POJOs
that are in use ensuring that the same object is not loaded twice into memory.
Each POJO is given an adapter so that the framework can work with the POJOs even though
it does not understand their types. Each POJO maps to an adapter and these are reused.
| Method Summary | |
|---|---|
NakedObject |
getAdapterFor(java.lang.Object pojo)
Gets the adapter for the specified domain object if it exists in the identity map. |
NakedObject |
getAdapterFor(Oid oid)
Gets the adapter for the Oid if it exists in the identity map. |
| Methods inherited from interface org.nakedobjects.metamodel.commons.component.Injectable |
|---|
injectInto |
| Method Detail |
|---|
NakedObject getAdapterFor(java.lang.Object pojo)
adapter for the specified domain object if it exists in the identity map.
pojo - - must not be null
NakedObject getAdapterFor(Oid oid)
adapter for the Oid if it exists in the identity map.
oid - - must not be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||