public class BucketAndAtlassianUserCacheManagerCompatibilityBeanPostProcessor
extends org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
This post bean post processor will make transparent that injecting a CacheManager into a
CacheManager or a CacheManager.
This is especially useful for autowiring plugins for example.
NOTE: it will not work with autowiring by type as the Spring container will not resolve a CacheManager as
being assignanle to the other deprecated cache managers.
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.log4j.Logger |
log
Deprecated.
|
| Constructor and Description |
|---|
BucketAndAtlassianUserCacheManagerCompatibilityBeanPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.beans.PropertyValues |
postProcessPropertyValues(org.springframework.beans.PropertyValues propertyValues,
PropertyDescriptor[] propertyDescriptors,
Object bean,
String beanName)
This will wrap instances of
CacheManager into a CacheManagerAdapter before injecting into those
classes that require cache manager of either types CacheManager
or CacheManager. |
determineCandidateConstructors, getEarlyBeanReference, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, predictBeanType@Deprecated protected final org.apache.log4j.Logger log
public BucketAndAtlassianUserCacheManagerCompatibilityBeanPostProcessor()
public org.springframework.beans.PropertyValues postProcessPropertyValues(org.springframework.beans.PropertyValues propertyValues,
PropertyDescriptor[] propertyDescriptors,
Object bean,
String beanName)
throws org.springframework.beans.BeansException
CacheManager into a CacheManagerAdapter before injecting into those
classes that require cache manager of either types CacheManager
or CacheManager.postProcessPropertyValues in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorpostProcessPropertyValues in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapterorg.springframework.beans.BeansExceptionInstantiationAwareBeanPostProcessorAdapter.postProcessPropertyValues(PropertyValues, PropertyDescriptor[], Object, String)Copyright © 2003–2016 Atlassian. All rights reserved.