-
- All Implemented Interfaces:
-
org.springframework.beans.factory.config.BeanPostProcessor,org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor,org.springframework.core.Ordered
public class CommandHandlerRegistrar extends AnnotatedMethodScanner<CommandHandler>
Registering method annotated with CommandHandler as command handler. Method should take CommandInvocation as parameter
-
-
Constructor Summary
Constructors Constructor Description CommandHandlerRegistrar(Plugin plugin, CommandRegistrationService commandRegistrationService)
-
Method Summary
Modifier and Type Method Description UnitpostProcessAfterMethodInitialize(Object bean, String beanName, Method method, CommandHandler annotation)UnitpostProcessBeforeMethodDestruction(Object bean, String beanName, Method method, CommandHandler annotation)IntegergetOrder()-
Methods inherited from class io.heartpattern.springfox.common.AnnotatedMethodScanner
postProcessAfterInitialization, postProcessBeforeDestruction -
Methods inherited from class org.springframework.beans.factory.config.BeanPostProcessor
postProcessBeforeInitialization -
Methods inherited from class org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
requiresDestruction -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CommandHandlerRegistrar
CommandHandlerRegistrar(Plugin plugin, CommandRegistrationService commandRegistrationService)
-
-
Method Detail
-
postProcessAfterMethodInitialize
Unit postProcessAfterMethodInitialize(Object bean, String beanName, Method method, CommandHandler annotation)
-
postProcessBeforeMethodDestruction
Unit postProcessBeforeMethodDestruction(Object bean, String beanName, Method method, CommandHandler annotation)
-
-
-
-