类的使用
org.springframework.core.annotation.AliasFor
使用AliasFor的程序包 程序包 说明 org.springframework.cache.annotation Annotations and supporting classes for declarative cache management.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.context.event Support classes for application events, like standard context events.org.springframework.core.annotation Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.org.springframework.jmx.export.annotation Java 5 annotations for MBean exposure.org.springframework.messaging.handler.annotation Annotations and support classes for handling messages.org.springframework.messaging.simp.annotation Annotations and for handling messages from SImple Messaging Protocols such as STOMP.org.springframework.stereotype Annotations denoting the roles of types or methods in the overall architecture (at a conceptual, rather than implementation, level).org.springframework.test.context This package contains the Spring TestContext Framework which provides annotation-driven unit and integration testing support that is agnostic of the actual testing framework in use.org.springframework.test.context.event.annotation Test event annotations for the Spring TestContext Framework.org.springframework.test.context.jdbc JDBC support classes for the Spring TestContext Framework, including support for declarative SQL script execution via@Sql
.org.springframework.test.context.junit.jupiter Core support for integrating the Spring TestContext Framework with the JUnit Jupiter extension model in JUnit 5.org.springframework.test.context.junit.jupiter.web Web support for integrating the Spring TestContext Framework with the JUnit Jupiter extension model in JUnit 5.org.springframework.transaction.annotation Spring's support for annotation-based transaction demarcation.org.springframework.transaction.event Spring's support for listening to transaction events.org.springframework.web.bind.annotation Annotations for binding requests to controllers and handler methods as well as for binding request parameters to method arguments.org.springframework.web.context.annotation Provides convenience annotations for web scopes.org.springframework.cache.annotation中AliasFor的使用
注释类型为AliasFor的org.springframework.cache.annotation中的方法 修饰符和类型 方法 说明 String[]
cacheNames()
Names of the caches in which method invocation results are stored.String[]
cacheNames()
Names of the caches to use for the cache eviction operation.String[]
cacheNames()
Names of the caches to use for the cache put operation.String[]
value()
Alias forCacheable.cacheNames()
.String[]
value()
Alias forCacheEvict.cacheNames()
.String[]
value()
Alias forCachePut.cacheNames()
.org.springframework.context.annotation中AliasFor的使用
注释类型为AliasFor的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 String[]
basePackages()
Base packages to scan for annotated components.Class<?>[]
classes()
The class or classes to use as the filter.String[]
locations()
Resource locations from which to import.String[]
name()
The name of this bean, or if several names, a primary bean name plus aliases.String
scopeName()
Specifies the name of the scope to use for the annotated component/bean.String[]
value()
Alias forBean.name()
.Class<?>[]
value()
Alias forComponentScan.Filter.classes()
.String[]
value()
Alias forComponentScan.basePackages()
.String
value()
Explicitly specify the name of the Spring bean definition associated with the@Configuration
class.String[]
value()
Alias forImportResource.locations()
.String
value()
Alias forScope.scopeName()
.org.springframework.context.event中AliasFor的使用
注释类型为AliasFor的org.springframework.context.event中的方法 修饰符和类型 方法 说明 Class<?>[]
classes()
The event classes that this listener handles.Class<?>[]
value()
Alias forEventListener.classes()
.org.springframework.core.annotation中AliasFor的使用
注释类型为AliasFor的org.springframework.core.annotation中的方法 修饰符和类型 方法 说明 String
attribute()
The name of the attribute that this attribute is an alias for.String
value()
Alias forattribute()
.org.springframework.jmx.export.annotation中AliasFor的使用
注释类型为AliasFor的org.springframework.jmx.export.annotation中的方法 修饰符和类型 方法 说明 String
objectName()
String
value()
Alias for theManagedResource.objectName()
attribute, for simple default usage.org.springframework.messaging.handler.annotation中AliasFor的使用
注释类型为AliasFor的org.springframework.messaging.handler.annotation中的方法 修饰符和类型 方法 说明 String
expression()
A SpEL expression to be evaluated against the payload object as the root context.String
name()
The name of the request header to bind to.String
value()
Alias forHeader.name()
.String
value()
Alias forPayload.expression()
.org.springframework.messaging.simp.annotation中AliasFor的使用
注释类型为AliasFor的org.springframework.messaging.simp.annotation中的方法 修饰符和类型 方法 说明 String[]
destinations()
One or more destinations to send a message to.String[]
value()
Alias forSendToUser.destinations()
.org.springframework.stereotype中AliasFor的使用
注释类型为AliasFor的org.springframework.stereotype中的方法 修饰符和类型 方法 说明 String
value()
The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.String
value()
The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.String
value()
The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.org.springframework.test.context中AliasFor的使用
注释类型为AliasFor的org.springframework.test.context中的方法 修饰符和类型 方法 说明 Class<? extends TestExecutionListener>[]
listeners()
TheTestExecutionListeners
to register with theTestContextManager
.String[]
locations()
The resource locations to use for loading anApplicationContext
.String[]
locations()
The resource locations of properties files to be loaded into theEnvironment
's set ofPropertySources
.String[]
profiles()
The bean definition profiles to activate.String[]
value()
Alias forActiveProfiles.profiles()
.String[]
value()
Alias forContextConfiguration.locations()
.Class<? extends TestExecutionListener>[]
value()
Alias forTestExecutionListeners.listeners()
.String[]
value()
Alias forTestPropertySource.locations()
.org.springframework.test.context.event.annotation中AliasFor的使用
注释类型为AliasFor的org.springframework.test.context.event.annotation中的方法 修饰符和类型 方法 说明 String
value()
Alias forEventListener.condition()
.String
value()
Alias forEventListener.condition()
.String
value()
Alias forEventListener.condition()
.String
value()
Alias forEventListener.condition()
.String
value()
Alias forEventListener.condition()
.String
value()
Alias forEventListener.condition()
.String
value()
Alias forEventListener.condition()
.org.springframework.test.context.jdbc中AliasFor的使用
注释类型为AliasFor的org.springframework.test.context.jdbc中的方法 修饰符和类型 方法 说明 String[]
scripts()
The paths to the SQL scripts to execute.String[]
value()
Alias forSql.scripts()
.org.springframework.test.context.junit.jupiter中AliasFor的使用
org.springframework.test.context.junit.jupiter.web中AliasFor的使用
注释类型为AliasFor的org.springframework.test.context.junit.jupiter.web中的方法 修饰符和类型 方法 说明 Class<?>[]
classes()
Alias forContextConfiguration.classes()
.boolean
inheritInitializers()
Alias forContextConfiguration.inheritInitializers()
.boolean
inheritLocations()
Alias forContextConfiguration.inheritLocations()
.Class<? extends ApplicationContextInitializer<?>>[]
initializers()
Alias forContextConfiguration.initializers()
.String[]
locations()
Alias forContextConfiguration.locations()
.String
name()
Alias forContextConfiguration.name()
.String
resourcePath()
Alias forWebAppConfiguration.value()
.Class<?>[]
value()
Alias forContextConfiguration.classes()
.org.springframework.transaction.annotation中AliasFor的使用
注释类型为AliasFor的org.springframework.transaction.annotation中的方法 修饰符和类型 方法 说明 String
transactionManager()
A qualifier value for the specified transaction.String
value()
Alias forTransactional.transactionManager()
.org.springframework.transaction.event中AliasFor的使用
注释类型为AliasFor的org.springframework.transaction.event中的方法 修饰符和类型 方法 说明 Class<?>[]
classes()
The event classes that this listener handles.Class<?>[]
value()
Alias forTransactionalEventListener.classes()
.org.springframework.web.bind.annotation中AliasFor的使用
org.springframework.web.context.annotation中AliasFor的使用
注释类型为AliasFor的org.springframework.web.context.annotation中的方法 修饰符和类型 方法 说明 ScopedProxyMode
proxyMode()
Alias forScope.proxyMode()
.ScopedProxyMode
proxyMode()
Alias forScope.proxyMode()
.ScopedProxyMode
proxyMode()
Alias forScope.proxyMode()
.