Package io.sentry.spring7.cache
Class SentryCacheBeanPostProcessor
java.lang.Object
io.sentry.spring7.cache.SentryCacheBeanPostProcessor
- All Implemented Interfaces:
BeanPostProcessor,Ordered,PriorityOrdered
@Internal
public final class SentryCacheBeanPostProcessor
extends Object
implements BeanPostProcessor, PriorityOrdered
Wraps
CacheManager beans in SentryCacheManagerWrapper for instrumentation.-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()@NotNull ObjectpostProcessAfterInitialization(@NotNull Object bean, @NotNull String beanName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessBeforeInitialization
-
Constructor Details
-
SentryCacheBeanPostProcessor
public SentryCacheBeanPostProcessor()
-
-
Method Details
-
postProcessAfterInitialization
@NotNull public @NotNull Object postProcessAfterInitialization(@NotNull @NotNull Object bean, @NotNull @NotNull String beanName) throws BeansException - Specified by:
postProcessAfterInitializationin interfaceBeanPostProcessor- Throws:
BeansException
-
getOrder
public int getOrder()
-