Class AdapterKeyedRegistry
java.lang.Object
org.nuxeo.ecm.automation.core.impl.SuperKeyedRegistry<TypeAdapterKey,TypeAdapter>
org.nuxeo.ecm.automation.core.impl.AdapterKeyedRegistry
- Author:
- Bogdan Stefanescu
-
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.automation.core.impl.SuperKeyedRegistry
lookup, registry -
Constructor Summary
ConstructorsConstructorDescriptionAdapterKeyedRegistry(Map<? extends TypeAdapterKey, ? extends TypeAdapter> registry) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<TypeAdapterKey> protected booleanOverride this in order to disable caching some specific keys.protected booleanisRoot(TypeAdapterKey key) Methods inherited from class org.nuxeo.ecm.automation.core.impl.SuperKeyedRegistry
flushCache, get, put, remove
-
Field Details
-
blacklist
-
-
Constructor Details
-
AdapterKeyedRegistry
-
-
Method Details
-
isRoot
- Specified by:
isRootin classSuperKeyedRegistry<TypeAdapterKey,TypeAdapter>
-
getSuperKeys
- Specified by:
getSuperKeysin classSuperKeyedRegistry<TypeAdapterKey,TypeAdapter>
-
isCachingEnabled
Description copied from class:SuperKeyedRegistryOverride this in order to disable caching some specific keys. For example when using java classes as keys you may want to avoid caching proxy classes. The default is to return true. (cache is enabled)- Overrides:
isCachingEnabledin classSuperKeyedRegistry<TypeAdapterKey,TypeAdapter>
-