org.springframework.aop.target
public class: SimpleBeanTargetSource [javadoc |
source]
java.lang.Object
org.springframework.aop.target.AbstractBeanFactoryBasedTargetSource
org.springframework.aop.target.SimpleBeanTargetSource
All Implemented Interfaces:
TargetSource, BeanFactoryAware, Serializable
Simple
org.springframework.aop.TargetSource implementation,
freshly obtaining the specified target bean from its containing
Spring
org.springframework.beans.factory.BeanFactory .
Can obtain any kind of target bean: singleton, scoped, or prototype.
Typically used for scoped beans.
- author:
Juergen - Hoeller
- since:
2.0.3 -
| Method from org.springframework.aop.target.SimpleBeanTargetSource Summary: |
|---|
|
getTarget |
| Methods from org.springframework.aop.target.AbstractBeanFactoryBasedTargetSource: |
|---|
|
copyFrom, equals, getBeanFactory, getTargetBeanName, getTargetClass, hashCode, isStatic, releaseTarget, setBeanFactory, setTargetBeanName, setTargetClass, toString, writeReplace |
| Method from org.springframework.aop.target.SimpleBeanTargetSource Detail: |
public Object getTarget() throws Exception {
return getBeanFactory().getBean(getTargetBeanName());
}
|