接口 AspectInstanceFactory
- 所有超级接口:
Ordered
- 所有已知实现类:
BeanFactoryAspectInstanceFactory
,LazySingletonAspectInstanceFactoryDecorator
,PrototypeAspectInstanceFactory
,SimpleAspectInstanceFactory
,SimpleBeanFactoryAwareAspectInstanceFactory
,SimpleMetadataAwareAspectInstanceFactory
,SingletonAspectInstanceFactory
,SingletonMetadataAwareAspectInstanceFactory
public interface AspectInstanceFactory extends Ordered
Interface implemented to provide an instance of an AspectJ aspect. Decouples from Spring's bean factory.Extends the
Ordered
interface to express an order value for the underlying aspect in a chain.- 从以下版本开始:
- 2.0
- 作者:
- Rod Johnson, Juergen Hoeller
- 另请参阅:
BeanFactory.getBean(java.lang.String)
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ClassLoader
getAspectClassLoader()
Expose the aspect class loader that this factory uses.Object
getAspectInstance()
Create an instance of this factory's aspect.
方法详细资料
getAspectInstance
Object getAspectInstance()
Create an instance of this factory's aspect.- 返回:
- the aspect instance (never
null
)
getAspectClassLoader
ClassLoader getAspectClassLoader()
Expose the aspect class loader that this factory uses.- 返回:
- the aspect class loader (never
null
)