|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdapterFactory<T>
A factory for adapters. Adapters can be used to adapt client and session objects. For example you can contribute an adapter on the session to have an API suited for your needs.
To register adapters use AutomationClient.registerAdapter(AdapterFactory)
.
Method Summary | |
---|---|
Class<?> |
getAcceptType()
The class to adapt. |
T |
getAdapter(Object toAdapt)
Adapt the given object and return the adapter instance. |
Class<T> |
getAdapterType()
The adapter class. |
Method Detail |
---|
Class<?> getAcceptType()
Class<T> getAdapterType()
T getAdapter(Object toAdapt)
toAdapt
-
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |