类 LazySingletonAspectInstanceFactoryDecorator
java.lang.Object
infra.aop.aspectj.annotation.LazySingletonAspectInstanceFactoryDecorator
- 所有已实现的接口:
MetadataAwareAspectInstanceFactory,AspectInstanceFactory,infra.core.Ordered,Serializable
public class LazySingletonAspectInstanceFactoryDecorator
extends Object
implements MetadataAwareAspectInstanceFactory, Serializable
Decorator to cause a
MetadataAwareAspectInstanceFactory to instantiate only once.- 从以下版本开始:
- 4.0
- 作者:
- Rod Johnson, Juergen Hoeller
- 另请参阅:
-
字段概要
字段从接口继承的字段 infra.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器构造器说明Create a new lazily initializing decorator for the given AspectInstanceFactory. -
方法概要
-
字段详细资料
-
maaif
-
materialized
-
-
构造器详细资料
-
LazySingletonAspectInstanceFactoryDecorator
Create a new lazily initializing decorator for the given AspectInstanceFactory.- 参数:
maaif- the MetadataAwareAspectInstanceFactory to decorate
-
-
方法详细资料
-
getAspectInstance
从接口复制的说明:AspectInstanceFactoryCreate an instance of this factory's aspect.- 指定者:
getAspectInstance在接口中AspectInstanceFactory- 返回:
- the aspect instance (never
null)
-
isMaterialized
public boolean isMaterialized() -
getAspectClassLoader
从接口复制的说明:AspectInstanceFactoryExpose the aspect class loader that this factory uses.- 指定者:
getAspectClassLoader在接口中AspectInstanceFactory- 返回:
- the aspect class loader (or
nullfor the bootstrap loader) - 另请参阅:
-
ClassUtils.getDefaultClassLoader()
-
getAspectMetadata
从接口复制的说明:MetadataAwareAspectInstanceFactoryReturn the AspectJ AspectMetadata for this factory's aspect.- 指定者:
getAspectMetadata在接口中MetadataAwareAspectInstanceFactory- 返回:
- the aspect metadata
-
getAspectCreationMutex
从接口复制的说明:MetadataAwareAspectInstanceFactoryReturn the best possible creation mutex for this factory.- 指定者:
getAspectCreationMutex在接口中MetadataAwareAspectInstanceFactory- 返回:
- the mutex object (may be
nullfor no mutex to use)
-
getOrder
public int getOrder()- 指定者:
getOrder在接口中infra.core.Ordered
-
toString
-