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, getOrdercloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEgetAspectClassLoader, getAspectInstancepublic final AspectMetadata getAspectMetadata()
MetadataAwareAspectInstanceFactoryMetadataAwareAspectInstanceFactory の getAspectMetadata public ObjectSE getAspectCreationMutex()
MetadataAwareAspectInstanceFactoryMetadataAwareAspectInstanceFactory の getAspectCreationMutex null になります)protected int getOrderForAspectClass(ClassSE<?> aspectClass)
SimpleAspectInstanceFactoryOrdered インターフェースを実装することにより、アスペクトインスタンスがインスタンス固有の順序を表現しない場合のフォールバック順序を決定します。 デフォルトの実装は、単に Ordered.LOWEST_PRECEDENCE を返します。
SimpleAspectInstanceFactory の getOrderForAspectClass aspectClass - アスペクトクラス