Interface ProcessorDefinition.EventHandlerDescriptor
- Enclosing interface:
ProcessorDefinition
public static interface ProcessorDefinition.EventHandlerDescriptor
Describes an event handler component that can be assigned to an event processor.
This descriptor provides access to various aspects of the event handler bean, allowing processor definitions to make decisions about which handlers to assign based on bean name, type, or other characteristics.
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.beans.factory.config.BeanDefinitionReturns the SpringBeanDefinitionfor this event handler.beanName()Returns the Spring bean name of this event handler.Class<?> beanType()Returns the Java type of this event handler bean.Returns the component builder for this event handler.Resolves and returns the actual event handler bean instance.
-
Method Details
-
beanName
Returns the Spring bean name of this event handler.- Returns:
- The bean name.
-
beanDefinition
org.springframework.beans.factory.config.BeanDefinition beanDefinition()Returns the SpringBeanDefinitionfor this event handler.- Returns:
- The bean definition.
-
beanType
Returns the Java type of this event handler bean.- Returns:
- The bean type.
-
resolveBean
Resolves and returns the actual event handler bean instance.- Returns:
- The event handler bean.
-
component
Returns the component builder for this event handler.- Returns:
- The component builder.
-