Class ClassKeyedRegistry<V>
java.lang.Object
org.nuxeo.ecm.automation.core.impl.SuperKeyedRegistry<Class<?>,V>
org.nuxeo.ecm.automation.core.impl.ClassKeyedRegistry<V>
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields inherited from class org.nuxeo.ecm.automation.core.impl.SuperKeyedRegistry
lookup, registry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSuperKeys(Class<?> key) protected booleanisCachingEnabled(Class<?> key) Override this in order to disable caching some specific keys.protected booleanMethods inherited from class org.nuxeo.ecm.automation.core.impl.SuperKeyedRegistry
flushCache, get, put, remove
-
Constructor Details
-
ClassKeyedRegistry
public ClassKeyedRegistry()
-
-
Method Details
-
isRoot
- Specified by:
isRootin classSuperKeyedRegistry<Class<?>,V>
-
getSuperKeys
- Specified by:
getSuperKeysin classSuperKeyedRegistry<Class<?>,V>
-
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<Class<?>,V>
-