Class BeanDescriptionCache
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.joran.util.beans.BeanDescriptionCache
-
- All Implemented Interfaces:
ContextAware
@Deprecated(since="2022-01-27") public class BeanDescriptionCache extends ContextAwareBase
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Cache forBeanDescription
instances. All the cache users which use the same instance of BeanDescriptionCache can profit from each others cached bean descriptions.The cache is not thread-safe and should not be shared across configurator instances.
-
-
Constructor Summary
Constructors Constructor Description BeanDescriptionCache(Context context)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BeanDescription
getBeanDescription(java.lang.Class<?> clazz)
Deprecated.Returned bean descriptions are hold in a cache.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Constructor Detail
-
BeanDescriptionCache
public BeanDescriptionCache(Context context)
Deprecated.
-
-
Method Detail
-
getBeanDescription
public BeanDescription getBeanDescription(java.lang.Class<?> clazz)
Deprecated.Returned bean descriptions are hold in a cache. If the cache does not contain a description for a given class, a new bean description is created and put in the cache, before it is returned.- Parameters:
clazz
- to get a bean description for.- Returns:
- a bean description for the given class.
-
-