Class AbstractPulsarAnnotationsBeanPostProcessor
java.lang.Object
org.springframework.pulsar.annotation.AbstractPulsarAnnotationsBeanPostProcessor
- All Implemented Interfaces:
- Aware,- BeanPostProcessor,- InitializingBean,- ApplicationContextAware,- Ordered
- Direct Known Subclasses:
- PulsarListenerAnnotationBeanPostProcessor,- PulsarReaderAnnotationBeanPostProcessor,- ReactivePulsarListenerAnnotationBeanPostProcessor
public class AbstractPulsarAnnotationsBeanPostProcessor
extends Object
implements BeanPostProcessor, ApplicationContextAware, InitializingBean, Ordered
Base class implementation for the various annotation post processors in Spring Pulsar.
- Author:
- Soby Chacko
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classprotected class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected ApplicationContextprotected BeanFactoryprotected BeanExpressionContextprotected final AbstractPulsarAnnotationsBeanPostProcessor.ListenerScopeprotected final LogAccessorprotected BeanExpressionResolverFields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidprotected voidprotected MethodcheckProxy(Method methodArg, Object bean) intgetOrder()protected voidloadProperty(Properties properties, String property, Object value) protected StringnoBeanFoundMessage(Object target, String listenerBeanName, String requestedBeanName, Class<?> expectedClass) postProcessBeforeInitialization(Object bean, String beanName) protected Stringprotected voidresolveAsString(Object resolvedValue, List<String> result) protected ObjectresolveExpression(String value) protected BooleanresolveExpressionAsBoolean(String value, String attribute) protected IntegerresolveExpressionAsInteger(String value, String attribute) protected StringresolveExpressionAsString(String value, String attribute) voidsetApplicationContext(ApplicationContext applicationContext) voidsetBeanFactory(BeanFactory beanFactory) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessorpostProcessAfterInitialization
- 
Field Details- 
logger
- 
beanFactory
- 
applicationContext
- 
resolver
- 
expressionContext
- 
listenerScope
- 
messageHandlerMethodFactoryprotected final AbstractPulsarAnnotationsBeanPostProcessor.PulsarHandlerMethodFactoryAdapter messageHandlerMethodFactory
 
- 
- 
Constructor Details- 
AbstractPulsarAnnotationsBeanPostProcessorpublic AbstractPulsarAnnotationsBeanPostProcessor()
 
- 
- 
Method Details- 
postProcessBeforeInitialization- Specified by:
- postProcessBeforeInitializationin interface- BeanPostProcessor
- Throws:
- BeansException
 
- 
assertBeanFactoryprotected void assertBeanFactory()
- 
setBeanFactory
- 
noBeanFoundMessage
- 
resolveExpressionAsBoolean
- 
resolveExpression
- 
resolve
- 
resolveExpressionAsString
- 
resolveAsString
- 
checkProxy
- 
setApplicationContext- Specified by:
- setApplicationContextin interface- ApplicationContextAware
- Throws:
- BeansException
 
- 
afterPropertiesSetpublic void afterPropertiesSet()- Specified by:
- afterPropertiesSetin interface- InitializingBean
 
- 
getOrderpublic int getOrder()
- 
loadProperty
- 
resolveExpressionAsInteger
 
-