public abstract class AbstractSpringAutowiringInterceptor extends Object
org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor, which
has been removed in Spring 5.x.| Constructor and Description |
|---|
AbstractSpringAutowiringInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
autowireBean(javax.interceptor.InvocationContext invocationContext)
Autowire the target bean after construction as well as after passivation.
|
protected void |
configureBeanPostProcessor(org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor processor,
Object target)
Template method for configuring the
AutowiredAnnotationBeanPostProcessor used for
autowiring. |
protected void |
doAutowireBean(Object target)
Actually autowire the target bean after construction/passivation.
|
protected abstract org.springframework.context.ApplicationContext |
getApplicationContext(String key)
Template method used to determine the ApplicationContext to use for autowiring.
|
protected org.springframework.beans.factory.BeanFactory |
getBeanFactory(Object target)
Determine the BeanFactory for autowiring the given target bean.
|
@PostConstruct public void autowireBean(javax.interceptor.InvocationContext invocationContext)
invocationContext - the EJB3 invocation contextprotected void doAutowireBean(Object target)
target - the target bean to autowireprotected void configureBeanPostProcessor(org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor processor,
Object target)
AutowiredAnnotationBeanPostProcessor used for
autowiring.processor - the AutowiredAnnotationBeanPostProcessor to configuretarget - the target bean to autowire with this processorprotected org.springframework.beans.factory.BeanFactory getBeanFactory(Object target)
target - the target bean to autowireprotected abstract org.springframework.context.ApplicationContext getApplicationContext(String key)
key - the key identifying the ApplicationContextCopyright © 2018 Thomas Naskali. All rights reserved.