public abstract class FieldBean<T> extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
| 限定符和类型 | 字段和说明 |
|---|---|
protected Annotation |
annotationInst |
protected org.springframework.context.ApplicationContext |
applicationContext |
protected Field |
field |
| 构造器和说明 |
|---|
FieldBean(Annotation annotationInst,
Field field) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
abstract Object |
doWithAnnotation() |
T |
getRef() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setRef(T ref) |
protected org.springframework.context.ApplicationContext applicationContext
protected final Annotation annotationInst
protected final Field field
public FieldBean(Annotation annotationInst, Field field)
public T getRef()
public void setRef(T ref)
public final void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionpublic abstract Object doWithAnnotation()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2023. All rights reserved.