クラス AbstractMethodAnnotationPostProcessor<T extends AnnotationSE>
java.lang.ObjectSE
org.springframework.integration.config.AbstractMethodAnnotationPostProcessor<T>
- 型パラメーター:
T
- ターゲットアノテーション型。
- 実装されたすべてのインターフェース:
Aware
、BeanFactoryAware
、MethodAnnotationPostProcessor<T>
- 既知の直属サブクラス
AggregatorAnnotationPostProcessor
、BridgeFromAnnotationPostProcessor
、BridgeToAnnotationPostProcessor
、FilterAnnotationPostProcessor
、InboundChannelAdapterAnnotationPostProcessor
、RouterAnnotationPostProcessor
、ServiceActivatorAnnotationPostProcessor
、SplitterAnnotationPostProcessor
、TransformerAnnotationPostProcessor
public abstract class AbstractMethodAnnotationPostProcessor<T extends AnnotationSE>
extends ObjectSE
implements MethodAnnotationPostProcessor<T>, BeanFactoryAware
メソッドレベルのアノテーションポストプロセッサーの基本クラス。
- 作成者:
- Mark Fisher, Artem Bilan, Gary Russell, Chris Bono
ネストされたクラスのサマリー
ネストされたクラス修飾子と型クラス説明protected static final record
フィールドサマリー
フィールドインターフェース org.springframework.integration.config.annotation.MethodAnnotationPostProcessor から継承されたフィールド
INPUT_CHANNEL_ATTRIBUTE
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected static BeanDefinition
buildLambdaMessageProcessor
(ResolvableType beanType, AnnotatedBeanDefinition beanDefinition) protected void
checkMessageHandlerAttributes
(StringSE handlerBeanName, ListSE<AnnotationSE> annotations) protected void
configurePollingEndpoint
(AbstractPollingEndpoint pollingEndpoint, Poller poller) protected AbstractEndpoint
createEndpoint
(MessageHandler handler, MethodSE method, ListSE<AnnotationSE> annotations) protected BeanDefinition
createEndpointBeanDefinition
(ComponentDefinition handlerBeanDefinition, ComponentDefinition beanDefinition, ListSE<AnnotationSE> annotations) protected abstract MessageHandler
createHandler
(ObjectSE bean, MethodSE method, ListSE<AnnotationSE> annotations) サブクラスは、MessageHandler を作成するためにこのメソッドを実装する必要があります。protected AbstractEndpoint
doCreateEndpoint
(MessageHandler handler, MessageChannel inputChannel, ListSE<AnnotationSE> annotations) extractAdviceChain
(StringSE beanName, ListSE<AnnotationSE> annotations) protected StringSE
generateHandlerBeanName
(StringSE originalBeanName, MethodSE method) protected StringSE
generateHandlerBeanName
(StringSE originalBeanName, MergedAnnotations mergedAnnotations) protected StringSE
generateHandlerBeanName
(StringSE originalBeanName, MergedAnnotations mergedAnnotations, StringSE methodName) protected ConfigurableListableBeanFactory
protected DestinationResolver<MessageChannel>
protected ConversionService
protected BeanDefinitionRegistry
postProcess
(ObjectSE bean, StringSE beanName, MethodSE method, ListSE<AnnotationSE> annotations) void
processBeanDefinition
(StringSE beanName, AnnotatedBeanDefinition beanDefinition, ListSE<AnnotationSE> annotations) protected boolean
resolveAttributeToBoolean
(StringSE attribute) protected BeanDefinition
resolveHandlerBeanDefinition
(StringSE beanName, AnnotatedBeanDefinition beanDefinition, ResolvableType handlerBeanType, ListSE<AnnotationSE> annotations) void
setBeanFactory
(BeanFactory beanFactory) protected static void
setOutputChannelIfPresent
(ListSE<AnnotationSE> annotations, AbstractMessageProducingHandler handler) クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.integration.config.annotation.MethodAnnotationPostProcessor から継承されたメソッド
beanAnnotationAware, getInputChannelAttribute, shouldCreateEndpoint, shouldCreateEndpoint, supportsPojoMethod
フィールドの詳細
コンストラクターの詳細
AbstractMethodAnnotationPostProcessor
public AbstractMethodAnnotationPostProcessor()
メソッドの詳細
setBeanFactory
- 次で指定:
- インターフェース
BeanFactoryAware
のsetBeanFactory
- 例外:
BeansException
getBeanFactory
getDefinitionRegistry
getConversionService
getChannelResolver
processBeanDefinition
public void processBeanDefinition(StringSE beanName, AnnotatedBeanDefinition beanDefinition, ListSE<AnnotationSE> annotations) - 次で指定:
- インターフェース
MethodAnnotationPostProcessor<T extends AnnotationSE>
のprocessBeanDefinition
createEndpointBeanDefinition
protected BeanDefinition createEndpointBeanDefinition(ComponentDefinition handlerBeanDefinition, ComponentDefinition beanDefinition, ListSE<AnnotationSE> annotations) resolveHandlerBeanDefinition
@Nullable protected BeanDefinition resolveHandlerBeanDefinition(StringSE beanName, AnnotatedBeanDefinition beanDefinition, ResolvableType handlerBeanType, ListSE<AnnotationSE> annotations) postProcess
public ObjectSE postProcess(ObjectSE bean, StringSE beanName, MethodSE method, ListSE<AnnotationSE> annotations) - 次で指定:
- インターフェース
MethodAnnotationPostProcessor<T extends AnnotationSE>
のpostProcess
extractAdviceChain
createEndpoint
protected AbstractEndpoint createEndpoint(MessageHandler handler, MethodSE method, ListSE<AnnotationSE> annotations) doCreateEndpoint
protected AbstractEndpoint doCreateEndpoint(MessageHandler handler, MessageChannel inputChannel, ListSE<AnnotationSE> annotations) configurePollingEndpoint
generateHandlerBeanName
generateHandlerBeanName
protected StringSE generateHandlerBeanName(StringSE originalBeanName, MergedAnnotations mergedAnnotations) generateHandlerBeanName
protected StringSE generateHandlerBeanName(StringSE originalBeanName, MergedAnnotations mergedAnnotations, @Nullable StringSE methodName) setOutputChannelIfPresent
protected static void setOutputChannelIfPresent(ListSE<AnnotationSE> annotations, AbstractMessageProducingHandler handler) checkMessageHandlerAttributes
protected void checkMessageHandlerAttributes(StringSE handlerBeanName, ListSE<AnnotationSE> annotations) resolveAttributeToBoolean
buildLambdaMessageProcessor
protected static BeanDefinition buildLambdaMessageProcessor(ResolvableType beanType, AnnotatedBeanDefinition beanDefinition) createHandler
protected abstract MessageHandler createHandler(ObjectSE bean, MethodSE method, ListSE<AnnotationSE> annotations) サブクラスは、MessageHandler を作成するためにこのメソッドを実装する必要があります。- パラメーター:
bean
- Bean。method
- メソッド。annotations
- メソッドのメッセージングアノテーション(またはメタアノテーション階層)。- 戻り値:
- MessageHandler。