アノテーションインターフェースの使用
org.springframework.context.annotation.Bean
Bean を使用するパッケージ
パッケージ
説明
宣言的なキャッシュ管理のためのアノテーションとサポートクラス。
AspectJ ベースのキャッシングのサポート。
宣言型 JSR-107 キャッシング構成のサポートパッケージ。
JSR-250「共通」アノテーション、コンポーネントスキャン、Spring 管理オブジェクトを作成するための Java ベースのメタデータなど、アプリケーションコンテキストのアノテーションサポート。
@Configurable アノテーションによって駆動される AspectJ ベースの依存性注入のサポート。 宣言型 JMS リスナーエンドポイントのアノテーションとサポートクラス。
より高いレベルのメッセージングプロトコルを使用した WebSocket メッセージングの構成サポート。
アノテーションベースの再試行と同時実行制限のサポート。
非同期メソッド実行のアノテーションサポート。
AspectJ ベースのスケジューリングのサポート。
Spring のアノテーションベースのトランザクション境界のサポート。
AspectJ ベースのトランザクション管理サポート。
Spring WebFlux 構成インフラストラクチャ。
Spring MVC のアノテーションベースのセットアップ。
構成クラスでのアノテーションベースの WebSocket セットアップのサポート。
org.springframework.cache.annotation 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.cache.annotation のメソッド修飾子と型メソッド説明ProxyCachingConfiguration.cacheAdvisor(CacheOperationSource cacheOperationSource, CacheInterceptor cacheInterceptor) ProxyCachingConfiguration.cacheInterceptor(CacheOperationSource cacheOperationSource) ProxyCachingConfiguration.cacheOperationSource()org.springframework.cache.aspectj 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.cache.aspectj のメソッド修飾子と型メソッド説明org.springframework.cache.aspectj.AnnotationCacheAspectAspectJCachingConfiguration.cacheAspect()org.springframework.cache.aspectj.JCacheCacheAspectAspectJJCacheConfiguration.cacheAspect(JCacheOperationSource jCacheOperationSource) org.springframework.cache.jcache.config 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.cache.jcache.config のメソッド修飾子と型メソッド説明ProxyJCacheConfiguration.cacheAdvisor(JCacheOperationSource jCacheOperationSource, JCacheInterceptor jCacheInterceptor) ProxyJCacheConfiguration.cacheInterceptor(JCacheOperationSource jCacheOperationSource) AbstractJCacheConfiguration.cacheOperationSource()org.springframework.context.annotation 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.context.annotation のメソッドorg.springframework.context.annotation.aspectj 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.context.annotation.aspectj のメソッド修飾子と型メソッド説明org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspectSpringConfiguredConfiguration.beanConfigurerAspect()org.springframework.jms.annotation 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.jms.annotation のメソッド修飾子と型メソッド説明JmsBootstrapConfiguration.defaultJmsListenerEndpointRegistry()JmsBootstrapConfiguration.jmsListenerAnnotationProcessor()org.springframework.messaging.simp.config 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.messaging.simp.config のメソッド修飾子と型メソッド説明AbstractMessageBrokerConfiguration.brokerChannel(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, ExecutorSE executor) AbstractMessageBrokerConfiguration.brokerChannelExecutor(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) AbstractMessageBrokerConfiguration.brokerMessageConverter()AbstractMessageBrokerConfiguration.brokerMessagingTemplate(AbstractSubscribableChannel brokerChannel, AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, CompositeMessageConverter brokerMessageConverter) AbstractMessageBrokerConfiguration.clientInboundChannel(ExecutorSE executor) AbstractMessageBrokerConfiguration.clientInboundChannelExecutor()AbstractMessageBrokerConfiguration.clientOutboundChannel(ExecutorSE executor) AbstractMessageBrokerConfiguration.clientOutboundChannelExecutor()AbstractMessageBrokerConfiguration.messageBrokerTaskScheduler()AbstractMessageBrokerConfiguration.simpAnnotationMethodMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, SimpMessagingTemplate brokerMessagingTemplate, CompositeMessageConverter brokerMessageConverter) AbstractMessageBrokerConfiguration.simpleBrokerMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, AbstractSubscribableChannel brokerChannel, UserDestinationResolver userDestinationResolver) AbstractMessageBrokerConfiguration.stompBrokerRelayMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, AbstractSubscribableChannel brokerChannel, UserDestinationMessageHandler userDestinationMessageHandler, @Nullable MessageHandler userRegistryMessageHandler, UserDestinationResolver userDestinationResolver) AbstractMessageBrokerConfiguration.userDestinationMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, AbstractSubscribableChannel brokerChannel, UserDestinationResolver userDestinationResolver) AbstractMessageBrokerConfiguration.userDestinationResolver(SimpUserRegistry userRegistry, AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) AbstractMessageBrokerConfiguration.userRegistry(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) AbstractMessageBrokerConfiguration.userRegistryMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, SimpUserRegistry userRegistry, SimpMessagingTemplate brokerMessagingTemplate, TaskScheduler scheduler) org.springframework.resilience.annotation 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.resilience.annotation のメソッド修飾子と型メソッド説明ResilientMethodsConfiguration.concurrencyLimitAdvisor()ResilientMethodsConfiguration.retryAdvisor()org.springframework.scheduling.annotation 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.scheduling.annotation のメソッド修飾子と型メソッド説明ProxyAsyncConfiguration.asyncAdvisor()SchedulingConfiguration.scheduledAnnotationProcessor()org.springframework.scheduling.aspectj 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.scheduling.aspectj のメソッド修飾子と型メソッド説明org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspectAspectJAsyncConfiguration.asyncAdvisor()org.springframework.transaction.annotation 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.transaction.annotation のメソッド修飾子と型メソッド説明ProxyTransactionManagementConfiguration.transactionAdvisor(TransactionAttributeSource transactionAttributeSource, TransactionInterceptor transactionInterceptor) AbstractTransactionManagementConfiguration.transactionalEventListenerFactory()AbstractTransactionManagementConfiguration.transactionAttributeSource()ProxyTransactionManagementConfiguration.transactionInterceptor(TransactionAttributeSource transactionAttributeSource) org.springframework.transaction.aspectj 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.transaction.aspectj のメソッド修飾子と型メソッド説明org.springframework.transaction.aspectj.JtaAnnotationTransactionAspectAspectJJtaTransactionManagementConfiguration.jtaTransactionAspect(TransactionAttributeSource transactionAttributeSource) org.springframework.transaction.aspectj.AnnotationTransactionAspectAspectJTransactionManagementConfiguration.transactionAspect(TransactionAttributeSource transactionAttributeSource) org.springframework.web.reactive.config 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.web.reactive.config のメソッド修飾子と型メソッド説明WebFluxConfigurationSupport.handlerFunctionAdapter()WebFluxConfigurationSupport.localeContextResolver()WebFluxConfigurationSupport.requestMappingHandlerAdapter(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, FormattingConversionService conversionService, RequestedContentTypeResolver contentTypeResolver, Validator validator) WebFluxConfigurationSupport.requestMappingHandlerMapping(RequestedContentTypeResolver contentTypeResolver, @Nullable ApiVersionStrategy apiVersionStrategy) WebFluxConfigurationSupport.resourceHandlerMapping(ResourceUrlProvider resourceUrlProvider) リソースハンドラーがマップされた Integer.MAX_VALUE-1 で順序付けられたハンドラーマッピングを返します。WebFluxConfigurationSupport.resourceUrlProvider()WebFluxConfigurationSupport.responseBodyResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, RequestedContentTypeResolver contentTypeResolver) WebFluxConfigurationSupport.responseEntityResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, RequestedContentTypeResolver contentTypeResolver) WebFluxConfigurationSupport.responseStatusExceptionHandler()WebFluxConfigurationSupport.routerFunctionMapping(ServerCodecConfigurer serverCodecConfigurer, @Nullable ApiVersionStrategy apiVersionStrategy) WebFluxConfigurationSupport.serverCodecConfigurer()HTTP メッセージリーダーおよびライターのコンフィギュレーターを返します。WebFluxConfigurationSupport.serverResponseResultHandler(ServerCodecConfigurer serverCodecConfigurer) WebFluxConfigurationSupport.simpleHandlerAdapter()WebFluxConfigurationSupport.viewResolutionResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry, RequestedContentTypeResolver contentTypeResolver) WebFluxConfigurationSupport.webFluxAdapterRegistry()適応型のリアクティブ型にReactiveAdapterRegistryを返します。WebFluxConfigurationSupport.webFluxApiVersionStrategy()API のバージョン管理に使用する中心的な戦略を返します。アプリケーションでバージョン管理を使用しない場合は、nullを返します。WebFluxConfigurationSupport.webFluxContentTypeResolver()WebFluxConfigurationSupport.webFluxConversionService()アノテーション付きコントローラーで使用するためにFormattingConversionServiceを返します。WebFluxConfigurationSupport.webFluxValidator()たとえば、@RequestBodyメソッドの引数を検証するために、グローバルValidatorインスタンスを返します。WebFluxConfigurationSupport.webFluxWebSocketHandlerAdapter()WebFluxConfigurationSupport.webHandler()org.springframework.web.servlet.config.annotation 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.web.servlet.config.annotation のメソッド修飾子と型メソッド説明WebMvcConfigurationSupport.beanNameHandlerMapping(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) URL パスをコントローラー Bean 名にマップするには、2 で順序付けされたBeanNameUrlHandlerMappingを返します。WebMvcConfigurationSupport.defaultServletHandlerMapping()マッピングされたデフォルトのサーブレットハンドラーを使用して、Integer.MAX_VALUE で順序付けられたハンドラーマッピングを返します。WebMvcConfigurationSupport.flashMapManager()WebMvcConfigurationSupport.handlerExceptionResolver(ContentNegotiationManager contentNegotiationManager) WebMvcConfigurationSupport.handlerFunctionAdapter()ハンドラー関数を介してリクエストを処理する場合は、HandlerFunctionAdapterを返します。WebMvcConfigurationSupport.httpRequestHandlerAdapter()HttpRequestHandlersでリクエストを処理するためにHttpRequestHandlerAdapterを返します。WebMvcConfigurationSupport.localeResolver()WebMvcConfigurationSupport.mvcApiVersionStrategy()API のバージョン管理に使用する中心的な戦略を返します。アプリケーションでバージョン管理を使用しない場合は、nullを返します。WebMvcConfigurationSupport.mvcContentNegotiationManager()指定されたリクエストでリクエストされたメディア型を判別するために使用するContentNegotiationManagerインスタンスを返します。WebMvcConfigurationSupport.mvcConversionService()アノテーション付きコントローラーで使用するためにFormattingConversionServiceを返します。WebMvcConfigurationSupport.mvcHandlerMappingIntrospector()WebMvcConfigurationSupport.mvcPathMatcher()非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。WebMvcConfigurationSupport.mvcPatternParser()RequestPathに一致するパターンの解析に使用するグローバルPathPatternParserインスタンスを返します。WebMvcConfigurationSupport.mvcResourceUrlProvider()MVC ディスパッチャーで使用するResourceUrlProviderBean。WebMvcConfigurationSupport.mvcUriComponentsContributor(FormattingConversionService conversionService, RequestMappingHandlerAdapter requestMappingHandlerAdapter) MvcUriComponentsBuilderで使用するためにCompositeUriComponentsContributorのインスタンスを返します。WebMvcConfigurationSupport.mvcUrlPathHelper()非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。PathMatcherおよびUrlPathHelperの使用は、Web モジュールでの実行時の使用では非推奨となり、代わりにPathPatternParserによる解析パターンが推奨されます。WebMvcConfigurationSupport.mvcValidator()WebMvcConfigurationSupport.mvcViewResolver(ContentNegotiationManager contentNegotiationManager) ビューの解決に使用するビューリゾルバーのチェーンを含むViewResolverCompositeを登録します。WebMvcConfigurationSupport.requestMappingHandlerAdapter(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, Validator validator) アノテーション付きコントローラーメソッドを介してリクエストを処理するためのRequestMappingHandlerAdapterを返します。WebMvcConfigurationSupport.requestMappingHandlerMapping(ContentNegotiationManager contentNegotiationManager, @Nullable ApiVersionStrategy apiVersionStrategy, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) リクエストをアノテーション付きコントローラーにマッピングするために、0 で順序付けされたRequestMappingHandlerMappingを返します。WebMvcConfigurationSupport.resourceHandlerMapping(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) リソースハンドラーがマップされた Integer.MAX_VALUE-1 で順序付けられたハンドラーマッピングを返します。WebMvcConfigurationSupport.routerFunctionMapping(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider, @Nullable ApiVersionStrategy versionStrategy) ルーター関数をマップするために、-1 で順序付けされたRouterFunctionMappingを返します。WebMvcConfigurationSupport.simpleControllerHandlerAdapter()インターフェースベースのコントローラーでリクエストを処理するためのSimpleControllerHandlerAdapterを返します。WebMvcConfigurationSupport.viewControllerHandlerMapping(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) URL パスをビュー名に直接マップするには、1 で順序付けられたハンドラーマッピングを返します。WebMvcConfigurationSupport.viewNameTranslator()org.springframework.web.socket.config.annotation 内の Bean 使用
型 Bean のアノテーションを持つ org.springframework.web.socket.config.annotation のメソッド修飾子と型メソッド説明WebSocketMessageBrokerConfigurationSupport.stompWebSocketHandlerMapping(WebSocketHandler subProtocolWebSocketHandler, TaskScheduler messageBrokerTaskScheduler, AbstractSubscribableChannel clientInboundChannel) WebSocketMessageBrokerConfigurationSupport.subProtocolWebSocketHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) WebSocketConfigurationSupport.webSocketHandlerMapping(org.springframework.web.socket.config.annotation.WebSocketConfigurationSupport.DefaultSockJsSchedulerContainer schedulerContainer) WebSocketMessageBrokerConfigurationSupport.webSocketMessageBrokerStats(@Nullable AbstractBrokerMessageHandler stompBrokerRelayMessageHandler, WebSocketHandler subProtocolWebSocketHandler, TaskExecutor inboundExecutor, TaskExecutor outboundExecutor, TaskScheduler scheduler) static CustomScopeConfigurerWebSocketMessageBrokerConfigurationSupport.webSocketScopeConfigurer()
PathMatcherおよびUrlPathHelperの使用は、Web モジュールでの実行時の使用では非推奨となり、代わりにPathPatternParserによる解析パターンが推奨されます。