类 SimpleMetadataAwareAspectInstanceFactory
java.lang.Object
infra.aop.aspectj.SimpleAspectInstanceFactory
infra.aop.aspectj.annotation.SimpleMetadataAwareAspectInstanceFactory
- 所有已实现的接口:
MetadataAwareAspectInstanceFactory,AspectInstanceFactory,infra.core.Ordered
public class SimpleMetadataAwareAspectInstanceFactory
extends SimpleAspectInstanceFactory
implements MetadataAwareAspectInstanceFactory
Implementation of
MetadataAwareAspectInstanceFactory that
creates a new instance of the specified aspect class for every
SimpleAspectInstanceFactory.getAspectInstance() call.- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller
-
字段概要
字段从接口继承的字段 infra.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器构造器说明SimpleMetadataAwareAspectInstanceFactory(Class<?> aspectClass, String aspectName) Create a new SimpleMetadataAwareAspectInstanceFactory for the given aspect class. -
方法概要
修饰符和类型方法说明Return the best possible creation mutex for this factory.final AspectMetadataReturn the AspectJ AspectMetadata for this factory's aspect.protected intgetOrderForAspectClass(Class<?> aspectClass) Determine a fallback order for the case that the aspect instance does not express an instance-specific order through implementing theOrderedinterface.从类继承的方法 infra.aop.aspectj.SimpleAspectInstanceFactory
getAspectClass, getAspectClassLoader, getAspectInstance, getOrder从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 infra.aop.aspectj.AspectInstanceFactory
getAspectClassLoader, getAspectInstance从接口继承的方法 infra.core.Ordered
getOrder
-
字段详细资料
-
metadata
-
-
构造器详细资料
-
SimpleMetadataAwareAspectInstanceFactory
Create a new SimpleMetadataAwareAspectInstanceFactory for the given aspect class.- 参数:
aspectClass- the aspect classaspectName- the aspect name
-
-
方法详细资料
-
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)
-
getOrderForAspectClass
从类复制的说明:SimpleAspectInstanceFactoryDetermine a fallback order for the case that the aspect instance does not express an instance-specific order through implementing theOrderedinterface.The default implementation simply returns
Ordered.LOWEST_PRECEDENCE.- 覆盖:
getOrderForAspectClass在类中SimpleAspectInstanceFactory- 参数:
aspectClass- the aspect class
-