AspectInstanceFactory that locates the aspect from the
org.springframework.beans.factory.BeanFactory using a configured bean name.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private BeanFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ClassLoader | getAspectClassLoader()
Implements org. Expose the aspect class loader that this factory uses. |
| public Object | getAspectInstance()
Implements org. Look up the aspect bean from the |
| public int | |
| public void | |
| public void | setBeanFactory(BeanFactory
owning BeanFactory (never beanFactory)null).
The bean can immediately call methods on the factory.Implements org. Callback that supplies the owning factory to a bean instance. |
| aspectBeanName | back to summary |
|---|---|
| private String aspectBeanName
| |
| beanFactory | back to summary |
|---|---|
| private BeanFactory beanFactory
| |
| SimpleBeanFactoryAwareAspectInstanceFactory | back to summary |
|---|---|
| public SimpleBeanFactoryAwareAspectInstanceFactory() | |
| getAspectClassLoader | back to summary |
|---|---|
| public ClassLoader getAspectClassLoader() Implements org. Doc from org. Expose the aspect class loader that this factory uses.
| |
| getAspectInstance | back to summary |
|---|---|
| public Object getAspectInstance() Implements org. Look up the aspect bean from the
| |
| getOrder | back to summary |
|---|---|
| public int getOrder() Implements org. Doc from org. Get the order value of this object. Higher values are interpreted as lower priority. As a consequence,
the object with the lowest value has the highest priority (somewhat
analogous to Servlet Same order values will result in arbitrary sort positions for the affected objects.
| |
| setAspectBeanName | back to summary |
|---|---|
| public void setAspectBeanName(String aspectBeanName) Set the name of the aspect bean. This is the bean that is returned when calling
| |
| setBeanFactory | back to summary |
|---|---|
| public void setBeanFactory(BeanFactory beanFactory) Implements org. Doc from org. Callback that supplies the owning factory to a bean instance. Invoked after the population of normal bean properties
but before an initialization callback such as
| |