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