Class AdapterKeyedRegistry
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.impl.SuperKeyedRegistry<TypeAdapterKey,TypeAdapter>
-
- org.nuxeo.ecm.automation.core.impl.AdapterKeyedRegistry
-
public class AdapterKeyedRegistry extends SuperKeyedRegistry<TypeAdapterKey,TypeAdapter>
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description AdapterKeyedRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<TypeAdapterKey>
getSuperKeys(TypeAdapterKey key)
protected boolean
isCachingEnabled(TypeAdapterKey key)
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
-
-
-
-
Method Detail
-
isRoot
protected boolean isRoot(TypeAdapterKey key)
- Specified by:
isRoot
in classSuperKeyedRegistry<TypeAdapterKey,TypeAdapter>
-
getSuperKeys
protected List<TypeAdapterKey> getSuperKeys(TypeAdapterKey key)
- Specified by:
getSuperKeys
in classSuperKeyedRegistry<TypeAdapterKey,TypeAdapter>
-
isCachingEnabled
protected boolean isCachingEnabled(TypeAdapterKey key)
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>
-
-