Package com.linecorp.armeria.spring
Class ArmeriaBeanPostProcessor
java.lang.Object
com.linecorp.armeria.spring.ArmeriaBeanPostProcessor
- All Implemented Interfaces:
BeanPostProcessor,InstantiationAwareBeanPostProcessor
public final class ArmeriaBeanPostProcessor
extends Object
implements InstantiationAwareBeanPostProcessor
BeanPostProcessor implementation that autowires annotated fields, setter methods, and arbitrary
config methods. Such members to be injected are detected through annotations:
by default, LocalArmeriaPort and LocalArmeriaPorts annotations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InjectionMetadatafindLocalArmeriaPortMetadata(String beanName, Class<?> clazz, @Nullable PropertyValues pvs) postProcessProperties(PropertyValues pvs, Object bean, String beanName) Post-processes the given property values before the factory apply them to the given bean.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessAfterInitialization, postProcessBeforeInitializationMethods inherited from interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
postProcessAfterInstantiation, postProcessBeforeInstantiation
-
Constructor Details
-
ArmeriaBeanPostProcessor
Creates a new instance.
-
-
Method Details
-
postProcessProperties
Post-processes the given property values before the factory apply them to the given bean.- Specified by:
postProcessPropertiesin interfaceInstantiationAwareBeanPostProcessor
-
findLocalArmeriaPortMetadata
protected InjectionMetadata findLocalArmeriaPortMetadata(String beanName, Class<?> clazz, @Nullable @Nullable PropertyValues pvs)
-