public class SimpleMetadataAwareAspectInstanceFactory extends SimpleAspectInstanceFactory implements MetadataAwareAspectInstanceFactory
SimpleAspectInstanceFactory.getAspectInstance()
呼び出しごとに、指定されたアスペクトクラスの新しいインスタンスを作成する MetadataAwareAspectInstanceFactory
の実装。HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターと説明 |
---|
SimpleMetadataAwareAspectInstanceFactory(ClassSE<?> aspectClass, StringSE aspectName) 指定されたアスペクトクラスの新しい SimpleMetadataAwareAspectInstanceFactory を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | getAspectCreationMutex() このファクトリに最適な作成ミューテックスを取得します。 |
AspectMetadata | getAspectMetadata() このファクトリのアスペクトの AspectJ AspectMetadata を取得します。 |
protected int | getOrderForAspectClass(ClassSE<?> aspectClass) Ordered インターフェースを実装することにより、アスペクトインスタンスがインスタンス固有の順序を表現しない場合のフォールバック順序を決定します。 |
getAspectClass, getAspectClassLoader, getAspectInstance, getOrder
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
getAspectClassLoader, getAspectInstance
public final AspectMetadata getAspectMetadata()
MetadataAwareAspectInstanceFactory
MetadataAwareAspectInstanceFactory
の getAspectMetadata
public ObjectSE getAspectCreationMutex()
MetadataAwareAspectInstanceFactory
MetadataAwareAspectInstanceFactory
の getAspectCreationMutex
null
になります)protected int getOrderForAspectClass(ClassSE<?> aspectClass)
SimpleAspectInstanceFactory
Ordered
インターフェースを実装することにより、アスペクトインスタンスがインスタンス固有の順序を表現しない場合のフォールバック順序を決定します。 デフォルトの実装は、単に Ordered.LOWEST_PRECEDENCE
を返します。
SimpleAspectInstanceFactory
の getOrderForAspectClass
aspectClass
- アスペクトクラス