public class AdapterManager extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<AdapterFactory<?>> |
factories |
Constructor and Description |
---|
AdapterManager() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected boolean |
factoryAccept(AdapterFactory<?> factory,
Class<?> adapterType) |
<T> T |
getAdapter(Session session,
Class<T> adapterType) |
void |
registerAdapter(AdapterFactory<?> factory) |
protected final Set<AdapterFactory<?>> factories
public AdapterManager()
public <T> T getAdapter(Session session, Class<T> adapterType)
protected boolean factoryAccept(AdapterFactory<?> factory, Class<?> adapterType)
public void registerAdapter(AdapterFactory<?> factory)
public void clear()
Copyright © 2018 Nuxeo. All rights reserved.