アノテーションインターフェースの使用
org.springframework.context.annotation.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 使用
修飾子と型メソッド説明ProxyCachingConfiguration.cacheAdvisor
(CacheOperationSource cacheOperationSource, CacheInterceptor cacheInterceptor) ProxyCachingConfiguration.cacheInterceptor
(CacheOperationSource cacheOperationSource) ProxyCachingConfiguration.cacheOperationSource()
org.springframework.cache.aspectj 内の Bean 使用
修飾子と型メソッド説明org.springframework.cache.aspectj.AnnotationCacheAspect
AspectJCachingConfiguration.cacheAspect()
org.springframework.cache.aspectj.JCacheCacheAspect
AspectJJCacheConfiguration.cacheAspect
(JCacheOperationSource jCacheOperationSource) org.springframework.cache.jcache.config 内の Bean 使用
修飾子と型メソッド説明ProxyJCacheConfiguration.cacheAdvisor
(JCacheOperationSource jCacheOperationSource, JCacheInterceptor jCacheInterceptor) ProxyJCacheConfiguration.cacheInterceptor
(JCacheOperationSource jCacheOperationSource) AbstractJCacheConfiguration.cacheOperationSource()
org.springframework.context.annotation 内の Bean 使用
org.springframework.context.annotation.aspectj 内の Bean 使用
修飾子と型メソッド説明org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect
SpringConfiguredConfiguration.beanConfigurerAspect()
org.springframework.jms.annotation 内の Bean 使用
修飾子と型メソッド説明JmsBootstrapConfiguration.defaultJmsListenerEndpointRegistry()
JmsBootstrapConfiguration.jmsListenerAnnotationProcessor()
org.springframework.messaging.simp.config 内の Bean 使用
修飾子と型メソッド説明AbstractMessageBrokerConfiguration.brokerChannel
(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, TaskExecutor executor) AbstractMessageBrokerConfiguration.brokerChannelExecutor
(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) AbstractMessageBrokerConfiguration.brokerMessageConverter()
AbstractMessageBrokerConfiguration.brokerMessagingTemplate
(AbstractSubscribableChannel brokerChannel, AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, CompositeMessageConverter brokerMessageConverter) AbstractMessageBrokerConfiguration.clientInboundChannel
(TaskExecutor executor) AbstractMessageBrokerConfiguration.clientInboundChannelExecutor()
AbstractMessageBrokerConfiguration.clientOutboundChannel
(TaskExecutor 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, 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.scheduling.annotation 内の Bean 使用
修飾子と型メソッド説明ProxyAsyncConfiguration.asyncAdvisor()
SchedulingConfiguration.scheduledAnnotationProcessor()
org.springframework.scheduling.aspectj 内の Bean 使用
修飾子と型メソッド説明org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect
AspectJAsyncConfiguration.asyncAdvisor()
org.springframework.transaction.annotation 内の Bean 使用
修飾子と型メソッド説明ProxyTransactionManagementConfiguration.transactionAdvisor
(TransactionAttributeSource transactionAttributeSource, TransactionInterceptor transactionInterceptor) AbstractTransactionManagementConfiguration.transactionalEventListenerFactory()
ProxyTransactionManagementConfiguration.transactionAttributeSource()
ProxyTransactionManagementConfiguration.transactionInterceptor
(TransactionAttributeSource transactionAttributeSource) org.springframework.transaction.aspectj 内の Bean 使用
修飾子と型メソッド説明org.springframework.transaction.aspectj.JtaAnnotationTransactionAspect
AspectJJtaTransactionManagementConfiguration.jtaTransactionAspect()
org.springframework.transaction.aspectj.AnnotationTransactionAspect
AspectJTransactionManagementConfiguration.transactionAspect()
org.springframework.web.reactive.config 内の Bean 使用
修飾子と型メソッド説明WebFluxConfigurationSupport.handlerFunctionAdapter()
WebFluxConfigurationSupport.localeContextResolver()
WebFluxConfigurationSupport.requestMappingHandlerAdapter
(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, FormattingConversionService conversionService, Validator validator) WebFluxConfigurationSupport.requestMappingHandlerMapping
(RequestedContentTypeResolver contentTypeResolver) 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) WebFluxConfigurationSupport.serverCodecConfigurer()
HTTP メッセージリーダーおよびライターのコンフィギュレーターを返します。WebFluxConfigurationSupport.serverResponseResultHandler
(ServerCodecConfigurer serverCodecConfigurer) WebFluxConfigurationSupport.simpleHandlerAdapter()
WebFluxConfigurationSupport.viewResolutionResultHandler
(ReactiveAdapterRegistry reactiveAdapterRegistry, RequestedContentTypeResolver contentTypeResolver) WebFluxConfigurationSupport.webFluxAdapterRegistry()
適応型のリアクティブ型にReactiveAdapterRegistry
を返します。WebFluxConfigurationSupport.webFluxContentTypeResolver()
WebFluxConfigurationSupport.webFluxConversionService()
アノテーション付きコントローラーで使用するためにFormattingConversionService
を返します。WebFluxConfigurationSupport.webFluxValidator()
たとえば、@RequestBody
メソッドの引数を検証するために、グローバルValidator
インスタンスを返します。WebFluxConfigurationSupport.webFluxWebSocketHandlerAdapter()
WebFluxConfigurationSupport.webHandler()
org.springframework.web.servlet.config.annotation 内の Bean 使用
修飾子と型メソッド説明WebMvcConfigurationSupport.beanNameHandlerMapping
(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) URL パスをコントローラー Bean 名にマップするには、2 で順序付けされたBeanNameUrlHandlerMapping
を返します。WebMvcConfigurationSupport.defaultServletHandlerMapping()
マッピングされたデフォルトのサーブレットハンドラーを使用して、Integer.MAX_VALUE で順序付けられたハンドラーマッピングを返します。WebMvcConfigurationSupport.flashMapManager()
WebMvcConfigurationSupport.handlerExceptionResolver
(ContentNegotiationManager contentNegotiationManager) WebMvcConfigurationSupport.configureHandlerExceptionResolvers(java.util.List<org.springframework.web.servlet.HandlerExceptionResolver>)
またはWebMvcConfigurationSupport.addDefaultHandlerExceptionResolvers(java.util.List<org.springframework.web.servlet.HandlerExceptionResolver>, org.springframework.web.accept.ContentNegotiationManager)
のいずれかで取得した例外リゾルバーのリストを含むHandlerExceptionResolverComposite
を返します。WebMvcConfigurationSupport.handlerFunctionAdapter()
ハンドラー関数を介してリクエストを処理する場合は、HandlerFunctionAdapter
を返します。WebMvcConfigurationSupport.httpRequestHandlerAdapter()
HttpRequestHandlers
でリクエストを処理するためにHttpRequestHandlerAdapter
を返します。WebMvcConfigurationSupport.localeResolver()
WebMvcConfigurationSupport.mvcContentNegotiationManager()
指定されたリクエストでリクエストされたメディア型を判別するために使用するContentNegotiationManager
インスタンスを返します。WebMvcConfigurationSupport.mvcConversionService()
アノテーション付きコントローラーで使用するためにFormattingConversionService
を返します。WebMvcConfigurationSupport.mvcHandlerMappingIntrospector()
WebMvcConfigurationSupport.mvcPathMatcher()
文字列パターンとの URL パスマッチングに使用されるグローバルPathMatcher
インスタンスを返します。WebMvcConfigurationSupport.mvcPatternParser()
RequestPath
に一致するパターンの解析に使用するグローバルPathPatternParser
インスタンスを返します。WebMvcConfigurationSupport.mvcResourceUrlProvider()
MVC ディスパッチャーで使用するResourceUrlProvider
Bean。WebMvcConfigurationSupport.mvcUriComponentsContributor
(FormattingConversionService conversionService, RequestMappingHandlerAdapter requestMappingHandlerAdapter) MvcUriComponentsBuilder
で使用するためにCompositeUriComponentsContributor
のインスタンスを返します。WebMvcConfigurationSupport.mvcUrlPathHelper()
アプリケーションのリクエストマッピングパスを解決するために使用されるグローバルUrlPathHelper
インスタンスを返します。WebMvcConfigurationSupport.mvcValidator()
WebMvcConfigurationSupport.mvcViewResolver
(ContentNegotiationManager contentNegotiationManager) ビューの解決に使用するビューリゾルバーのチェーンを含むViewResolverComposite
を登録します。WebMvcConfigurationSupport.requestMappingHandlerAdapter
(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, Validator validator) アノテーション付きコントローラーメソッドを介してリクエストを処理するためのRequestMappingHandlerAdapter
を返します。WebMvcConfigurationSupport.requestMappingHandlerMapping
(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) リクエストをアノテーション付きコントローラーにマッピングするために、0 で順序付けされたRequestMappingHandlerMapping
を返します。WebMvcConfigurationSupport.resourceHandlerMapping
(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) リソースハンドラーがマップされた Integer.MAX_VALUE-1 で順序付けられたハンドラーマッピングを返します。WebMvcConfigurationSupport.routerFunctionMapping
(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) ルーター関数をマップするために、-1 で順序付けされたRouterFunctionMapping
を返します。WebMvcConfigurationSupport.simpleControllerHandlerAdapter()
インターフェースベースのコントローラーでリクエストを処理するためのSimpleControllerHandlerAdapter
を返します。WebMvcConfigurationSupport.themeResolver()
使用すべきではありません。WebMvcConfigurationSupport.viewControllerHandlerMapping
(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) URL パスをビュー名に直接マップするには、1 で順序付けられたハンドラーマッピングを返します。WebMvcConfigurationSupport.viewNameTranslator()
org.springframework.web.socket.config.annotation 内の Bean 使用
修飾子と型メソッド説明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
(AbstractBrokerMessageHandler stompBrokerRelayMessageHandler, WebSocketHandler subProtocolWebSocketHandler, TaskExecutor inboundExecutor, TaskExecutor outboundExecutor, TaskScheduler scheduler) static CustomScopeConfigurer
WebSocketMessageBrokerConfigurationSupport.webSocketScopeConfigurer()