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
Fields inherited from class org.nuxeo.ecm.automation.core.impl.SuperKeyedRegistry
lookup, registry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<TypeAdapterKey>
protected boolean
Override this in order to disable caching some specific keys.protected boolean
isRoot
(TypeAdapterKey key) Methods inherited from class org.nuxeo.ecm.automation.core.impl.SuperKeyedRegistry
flushCache, get, put, remove
-
Field Details
-
blacklist
-
-
Constructor Details
-
AdapterKeyedRegistry
public AdapterKeyedRegistry()
-
-
Method Details
-
isRoot
- Specified by:
isRoot
in classSuperKeyedRegistry<TypeAdapterKey,
TypeAdapter>
-
getSuperKeys
- Specified by:
getSuperKeys
in classSuperKeyedRegistry<TypeAdapterKey,
TypeAdapter>
-
isCachingEnabled
Description copied from class:SuperKeyedRegistry
Override 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:
isCachingEnabled
in classSuperKeyedRegistry<TypeAdapterKey,
TypeAdapter>
-