public class ContainerActivatorAnnotationPostProcessor extends java.lang.Object implements MethodAnnotationPostProcessor<OnContainerStart>
OnContainerStart
.Modifier and Type | Field and Description |
---|---|
protected org.springframework.beans.factory.BeanFactory |
beanFactory |
Constructor and Description |
---|
ContainerActivatorAnnotationPostProcessor(org.springframework.beans.factory.ListableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
postProcess(java.lang.Object bean,
java.lang.String beanName,
java.lang.reflect.Method method,
OnContainerStart annotation)
Post process a bean.
|
public ContainerActivatorAnnotationPostProcessor(org.springframework.beans.factory.ListableBeanFactory beanFactory)
public java.lang.Object postProcess(java.lang.Object bean, java.lang.String beanName, java.lang.reflect.Method method, OnContainerStart annotation)
MethodAnnotationPostProcessor
null
. Caller of this method is then responsible to
handle newly created object.postProcess
in interface MethodAnnotationPostProcessor<OnContainerStart>
bean
- the beanbeanName
- the bean namemethod
- the methodannotation
- the annotation