public class TelegramControllerBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.SmartInitializingSingleton
TelegramMvcController inheritors marked with BotController annotation, then searches for
BotRequest annotations in methods and store the meta
information into HandlerMethodContainer.| Constructor and Description |
|---|
TelegramControllerBeanPostProcessor(@NotNull HandlerMethodContainer botHandlerMethodContainer,
@NotNull MetricsService metricsService) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSingletonsInstantiated() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
public TelegramControllerBeanPostProcessor(@NotNull
@NotNull HandlerMethodContainer botHandlerMethodContainer,
@NotNull
@NotNull MetricsService metricsService)
public Object postProcessBeforeInitialization(@NonNull Object bean, @NonNull String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansException@Nullable public Object postProcessAfterInitialization(@NonNull Object bean, @NonNull String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic void afterSingletonsInstantiated()
afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingletonCopyright © 2022. All rights reserved.