インターフェースの使用
org.springframework.core.type.AnnotationMetadata
パッケージ
説明
アノテーション駆動型 Bean 構成のサポートパッケージ。
宣言的なキャッシュ管理のためのアノテーションとサポートクラス。
JSR-250「共通」アノテーション、コンポーネントスキャン、Spring 管理オブジェクトを作成するための Java ベースのメタデータなど、アプリケーションコンテキストのアノテーションサポート。
型のイントロスペクションのコアサポートパッケージ。
アノテーションおよびクラスレベルのメタデータを読み取るためのクラスをサポートします。
非同期メソッド実行のアノテーションサポート。
Spring のアノテーションベースのトランザクション境界のサポート。
org.springframework.beans.factory.annotation 内の AnnotationMetadata 使用
修飾子と型メソッド説明AnnotatedBeanDefinition.getMetadata()
この Bean 定義の Bean クラスのアノテーションメタデータ(および基本クラスのメタデータ)を取得します。final AnnotationMetadata
AnnotatedGenericBeanDefinition.getMetadata()
修飾子コンストラクター説明指定されたアノテーションメタデータの新しい AnnotatedGenericBeanDefinition を作成し、ASM ベースの処理を可能にし、Bean クラスの早期ロードを回避します。AnnotatedGenericBeanDefinition
(AnnotationMetadata metadata, MethodMetadata factoryMethodMetadata) アノテーション付きクラスとそのクラスのファクトリメソッドに基づいて、指定されたアノテーションメタデータ用の新しい AnnotatedGenericBeanDefinition を作成します。org.springframework.cache.annotation 内の AnnotationMetadata 使用
org.springframework.context.annotation 内の AnnotationMetadata 使用
修飾子と型メソッド説明DeferredImportSelector.Group.Entry.getMetadata()
インポートするConfiguration
クラスのAnnotationMetadata
を返します。final AnnotationMetadata
ScannedGenericBeanDefinition.getMetadata()
修飾子と型メソッド説明static IntegerSE
ConfigurationClassUtils.getOrder
(AnnotationMetadata metadata) 指定された構成クラスメタデータの順序を決定します。void
DeferredImportSelector.Group.process
(AnnotationMetadata metadata, DeferredImportSelector selector) void
AutoProxyRegistrar.registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) 指定されたレジストリに対して標準の自動プロキシ作成者(APC)を登録、エスカレーション、構成します。default void
ImportBeanDefinitionRegistrar.registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) インポートする@Configuration
クラスの特定のアノテーションメタデータに基づいて、必要に応じて Bean 定義を登録します。default void
ImportBeanDefinitionRegistrar.registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry, BeanNameGenerator importBeanNameGenerator) インポートする@Configuration
クラスの特定のアノテーションメタデータに基づいて、必要に応じて Bean 定義を登録します。final StringSE[]
AdviceModeImportSelector.selectImports
(AnnotationMetadata importingClassMetadata) この実装は、ジェネリクスメタデータからアノテーションの型を解決し、(a)アノテーションがインポートする@Configuration
クラスに実際に存在すること、および(b)指定されたアノテーションが型AdviceMode
のアドバイスモード属性を持っていることを検証します。StringSE[]
ImportSelector.selectImports
(AnnotationMetadata importingClassMetadata) インポートする @Configuration
クラスのAnnotationMetadata
に基づいて、インポートするクラスの名前を選択して返します。void
ImportAware.setImportMetadata
(AnnotationMetadata importMetadata) インポートする @Configuration
クラスのアノテーションメタデータを設定します。void
LoadTimeWeavingConfiguration.setImportMetadata
(AnnotationMetadata importMetadata) void
MBeanExportConfiguration.setImportMetadata
(AnnotationMetadata importMetadata) org.springframework.core.type 内の AnnotationMetadata 使用
修飾子と型メソッド説明static AnnotationMetadata
AnnotationMetadata.introspect
(ClassSE<?> type) 標準リフレクションを使用して、指定されたクラスの新しいAnnotationMetadata
インスタンスを作成するファクトリメソッド。org.springframework.core.type.classreading 内の AnnotationMetadata 使用
修飾子と型メソッド説明MetadataReader.getAnnotationMetadata()
アノテーション付きメソッドのメタデータを含む、基になるクラスの完全なアノテーションメタデータを読み取ります。org.springframework.scheduling.annotation 内の AnnotationMetadata 使用
org.springframework.transaction.annotation 内の AnnotationMetadata 使用
修飾子と型メソッド説明void
AbstractTransactionManagementConfiguration.setImportMetadata
(AnnotationMetadata importMetadata)