|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Adaptable
Classes which have multiple dynamic facets (adapters) shall implement this interface. This interface similar to Context.lookup() service loading.
| Method Summary | ||
|---|---|---|
|
getAdapter(Class<T> type,
Context context)
Retrieves adapter of given type from adaptable. |
|
| Method Detail |
|---|
<T> T getAdapter(Class<T> type,
Context context)
T - Adapter type.type - Adapter type.context - Adapter context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||