• Spring Project Annotations


       Project  Annotation  Discovered By  Package     Target(s)  Parameters  Notes

    .

    AspectJ @EnableSpringConfigured   org.springframework.beans.factory.aspectj        

    .

    Batch @AfterChunk automatic org.springframework.batch.core.annotation        

    .

    Batch @AfterJob automatic org.springframework.batch.core.annotation        

    .

    Batch @AfterProcess automatic org.springframework.batch.core.annotation        

    .

    Batch @AfterRead automatic org.springframework.batch.core.annotation        

    .

    Batch @AfterStep automatic org.springframework.batch.core.annotation        

    .

    Batch @AfterWrite automatic org.springframework.batch.core.annotation        

    .

    Batch @BeforeChunk automatic org.springframework.batch.core.annotation        

    .

    Batch @BeforeJob automatic org.springframework.batch.core.annotation        

    .

    Batch @BeforeProcess automatic org.springframework.batch.core.annotation        

    .

    Batch @BeforeRead automatic org.springframework.batch.core.annotation        

    .

    Batch @BeforeStep automatic org.springframework.batch.core.annotation        

    .

    Batch @BeforeWrite automatic org.springframework.batch.core.annotation        

    .

    Batch @Classifier automatic org.springframework.batch.support.annotation        

    .

    Batch @MockStaticEntityMethods automatic org.springframework.batch.core.annotation        

    .

    Batch @OnProcessError automatic org.springframework.batch.core.annotation        

    .

    Batch @OnReadError automatic org.springframework.batch.core.annotation        

    .

    Batch @OnSkipInProcess automatic org.springframework.batch.core.annotation        

    .

    Batch @OnSkipInRead automatic org.springframework.batch.core.annotation        

    .

    Batch @OnSkipInWrite automatic org.springframework.batch.core.annotation        

    .

    Batch @OnWriteError automatic org.springframework.batch.support.annotation        

    .

    Cache @Cacheable <cache:annotation-driven/> org.springframework.cache.annotation 3.1      

    .

    Cache @CacheEvict   org.springframework.cache.annotation        

    .

    Cache @CachePut   org.springframework.cache.annotation        

    .

    Cache @Caching   org.springframework.cache.annotation        

    .

    Cache @EnableCaching   org.springframework.cache.annotation        

    .

    Cache @NumberFormat <cache:annotation-driven/> Spring 3.1 org.springframework.cache.annotation        

    .

    Data-Commons @Document   org.springframework.data.mapping        

    .

    Data-Commons @Id   org.springframework.data.annotation        

    .

    Data-Commons @NoRepositoryBean   org.springframework.data.repository        

    .

    Data-Commons @PageableDefaults   org.springframework.data.web        

    .

    Data-Commons @Param   org.springframework.data.repository        

    .

    Data-Commons @PersistenceConstructor   org.springframework.data.annotation        

    .

    Data-Commons @Persistent   org.springframework.data.annotation        

    .

    Data-Commons @ReadingConverter   org.springframework.data.convert        

    .

    Data-Commons @Reference   org.springframework.data.annotation        

    .

    Data-Commons @RepositoryDefinition   org.springframework.data.repository        

    .

    Data-Commons @Transient   org.springframework.data.annotation        

    .

    Data-Commons @TypeAlias   org.springframework.data.annotation        

    .

    Data-Commons @WritingConverter   org.springframework.data.convert        

    .

    Data-Gemfire @Query   org.springframework.data.gemfire.repository        

    .

    Data-Gemfire @Region   org.springframework.data.gemfire.mapping        

    .

    Data-Jpa @Lock   org.springframework.data.jpa.repository        

    .

    Data-Jpa @Modifying JpaQueryMethod org.springframework.data.jpa.repository        

    .

    Data-Jpa @Query JpaQueryMethod org.springframework.data.jpa.repository        

    .

    Data-Jpa @QueryHints JpaQueryMethod org.springframework.data.jpa.repository        

    .

    Data-Neo4j @EndNode   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @Fetch   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @GraphId   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @GraphProperty   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @GraphTraversal   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @Indexed   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @MapResult   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @Neo4jTransactional   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @NodeEntity   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @Query   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @RelatedTo   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @RelatedToVia   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @RelationshipEntity   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @RelationshipType   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @ResultColumn   org.springframework.data.neo4j.annotation        

    .

    Data-Neo4j @StartNode   org.springframework.data.neo4j.annotation        

    .

    Data-Riak @KeyValueStoreMetadata   org.springframework.data.keyvalue.riak.convert        

    .

    Flex @AmfCreator   org.springframework.flex.core.io        

    .

    Flex @AmfIgnore   org.springframework.flex.core.io        

    .

    Flex @AmfIgnoreField   org.springframework.flex.core.io        

    .

    Flex @AmfProperty   org.springframework.flex.core.io        

    .

    Flex @RemotingDestination <flex:message-broker/> org.springframework.flex.remoting        

    .

    Flex @RemotingExclude <flex:message-broker/> org.springframework.flex.remoting        

    .

    Flex @RemotingInclude <flex:message-broker/> org.springframework.flex.remoting        

    .

    Grails @ApplyDetachedCriteriaTransform   org.grails.datastore.gorm.query.transform        

    .

    Grails @Entity   org.grails.datastore.mapping.annotation        

    .

    Grails @Entity   persistence        

    .

    Grails @Id   org.grails.datastore.mapping.annotation        

    .

    Grails @Index   org.grails.datastore.mapping.annotation        

    .

    Grails @JpaEntity   gorm        

    .

    Integration @Aggregator automatic org.springframework.integration.annotation        

    .

    Integration @CorrelationStrategy automatic org.springframework.integration.annotation        

    .

    Integration @Filter automatic org.springframework.integration.annotation        

    .

    Integration @Gateway automatic org.springframework.integration.annotation        

    .

    Integration @Header automatic org.springframework.integration.annotation        

    .

    Integration @Headers automatic org.springframework.integration.annotation        

    .

    Integration @MessageEndpoint <context:component-scan/>, <context:annotation-config/>, @ComponentScan org.springframework.integration.annotation        

    .

    Integration @Payload automatic org.springframework.integration.annotation        

    .

    Integration @Payloads automatic org.springframework.integration.annotation        

    .

    Integration @Publisher <si:annotation-config/> org.springframework.integration.annotation        

    .

    Integration @ReleaseStrategy automatic org.springframework.integration.annotation        

    .

    Integration @Router automatic org.springframework.integration.annotation        

    .

    Integration @ServiceActivator automatic org.springframework.integration.annotation        

    .

    Integration @Splitter automatic org.springframework.integration.annotation        

    .

    Integration @Transformer automatic org.springframework.integration.annotation        

    .

    JMX @ManagedAttribute <context:mbean-export/> org.springframework.jmx.export.annotation     defaultValue, description, currencyTimeLimit, persistPolicy, persistPeriod  

    .

    JMX @ManagedMetric <context:mbean-export/> org.springframework.jmx.export.annotation     category, currencyTimeLimit, description, displayName, metricType, persistPeriod, persistPolicy, unit  

    .

    JMX @ManagedNotification <context:mbean-export/> org.springframework.jmx.export.annotation     name, description, notificationTypes  

    .

    JMX @ManagedNotifications <context:mbean-export/> org.springframework.jmx.export.annotation     value <notificationTypes[]>  

    .

    JMX @ManagedOperation <context:mbean-export/> org.springframework.jmx.export.annotation     description, currencyTimeLimit  

    .

    JMX @ManagedOperationParameter <context:mbean-export/> org.springframework.jmx.export.annotation     name, description  

    .

    JMX @ManagedOperationParameters <context:mbean-export/> org.springframework.jmx.export.annotation     value <ManagedOperationParameter[]>  

    .

    JMX @ManagedResource <context:mbean-export/> org.springframework.jmx.export.annotation     value, objectName description, currencyTimeLimit, log, logFile, persistPolicy, persistPeriod, persistName, persistLocation  

    .

    MVC @CookieValue <tx:annotation-driven/>, @EnableTransactionManagement org.springframework.web.bind.annotation        

    .

    MVC @ExceptionHandler <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @InitBinder <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @Mapping <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @ModelAttribute <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @PathVariable <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @RequestBody <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @RequestHeader <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @RequestMapping <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @RequestParam <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @ResponseBody <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @ResponseStatus <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    MVC @SessionAttributes <mvc:annotation-driven/>, @EnableWebMvc org.springframework.web.bind.annotation        

    .

    Portlet @ActionMapping   org.springframework.web.portlet.bind.annotation        

    .

    Portlet @EventMapping   org.springframework.web.portlet.bind.annotation        

    .

    Portlet @RenderMapping   org.springframework.web.portlet.bind.annotation        

    .

    Portlet @ResourceMapping   org.springframework.web.portlet.bind.annotation        

    .

    Retry @Classifier   org.springframework.classify.annotation        

    .

    Roo @AutoPopulate   org.springframework.roo.shell        

    .

    Roo @CliAvailabilityIndicator   org.springframework.roo.annotation.populator        

    .

    Roo @CliCommand   org.springframework.roo.shell        

    .

    Roo @CliOption   org.springframework.roo.shell 3.1      

    .

    Roo @RooConfigurable   org.springframework.roo.addon.configurable        

    .

    Roo @RooConversionService   org.springframework.roo.addon.web.mvc.controller        

    .

    Roo @RooDataOnDemand   org.springframework.roo.addon.dod        

    .

    Roo @RooDbManaged   org.springframework.roo.addon.dbre        

    .

    Roo @RooEditor   org.springframework.roo.addon.property.editor        

    .

    Roo @RooEntity   org.springframework.roo.addon.entity        

    .

    Roo @RooGwtLocator   org.springframework.roo.addon.gwt        

    .

    Roo @RooGwtMirroredFrom   org.springframework.roo.addon.gwt        

    .

    Roo @RooGwtProxy   org.springframework.roo.addon.gwt        

    .

    Roo @RooGwtRequest   org.springframework.roo.addon.gwt        

    .

    Roo @RooIdentifier   org.springframework.roo.addon.entity        

    .

    Roo @RooIntegrationTest   org.springframework.roo.addon.test        

    .

    Roo @RooJavaBean   org.springframework.roo.addon.javabean        

    .

    Roo @RooJpaEntity   org.springframework.roo.addon.entity        

    .

    Roo @RooJsfApplicationBean   org.springframework.roo.addon.jsf        

    .

    Roo @RooJsfConverter   org.springframework.roo.addon.jsf        

    .

    Roo @RooJsfManagedBean   org.springframework.roo.addon.jsf        

    .

    Roo @RooJson   org.springframework.roo.addon.json        

    .

    Roo @RooMongoEntity   org.springframework.roo.addon.layers.repository.mongo        

    .

    Roo @RooOp4j   org.springframework.roo.addon.op4j        

    .

    Roo @RooPlural   org.springframework.roo.addon.plural        

    .

    Roo @RooRepositoryJpa   org.springframework.roo.addon.layers.repository.jpa        

    .

    Roo @RooRepositoryMongo   org.springframework.roo.addon.layers.repository.mongo        

    .

    Roo @RooSerializable   org.springframework.roo.addon.serializable        

    .

    Roo @RooService   org.springframework.roo.addon.layers.service        

    .

    Roo @RooSolrSearchable   org.springframework.roo.addon.solr        

    .

    Roo @RooSolrWebSearchable   org.springframework.roo.addon.solr        

    .

    Roo @RooToString   org.springframework.roo.addon.tostring        

    .

    Roo @RooUploadedFile   org.springframework.roo.addon.jsf        

    .

    Roo @RooWebFinder   org.springframework.roo.addon.web.mvc.controller.finder        

    .

    Roo @RooWebJson   org.springframework.roo.addon.web.mvc.controller.json        

    .

    Roo @RooWebScaffold   org.springframework.roo.addon.web.mvc.controller        

    .

    Security @PostAuthorize <security:global-method-security secured-annotations="enabled" /> org.springframework.security.access.prepost        

    .

    Security @PostFilter <security:global-method-security secured-annotations="enabled" /> org.springframework.security.access.prepost        

    .

    Security @PreAuthorize <security:global-method-security secured-annotations="enabled" /> org.springframework.security.access.prepost        

    .

    Security @PreFilter <security:global-method-security secured-annotations="enabled" /> org.springframework.security.access.prepost        

    .

    Security @Secured <security:global-method-security secured-annotations="enabled" /> org.springframework.security.access.annotation        

    .

    Security-OAuth @ConsumerKeysAllowed <security:global-method-security secured-annotations="enabled" /> org.springframework.security.oauth.provider.attributes        

    .

    Security-OAuth @ConsumerRolesAllowed <security:global-method-security secured-annotations="enabled" /> org.springframework.security.oauth.provider.attributes        

    .

    Security-OAuth @DenyAllConsumers <security:global-method-security secured-annotations="enabled" /> org.springframework.security.oauth.provider.attributes        

    .

    Security-OAuth @PermitAllConsumers <security:global-method-security secured-annotations="enabled" /> org.springframework.security.oauth.provider.attributes        

    .

    Social @FacebookCookieValue   org.springframework.social.facebook.web        

    .

    Spring @Async <task:annotation-driven/> org.springframework.scheduling.annotation        

    .

    Spring @Autowired <context:component-scan/>, <context:annotation-config/>, @ComponentScan org.springframework.beans.factory.annotation        

    .

    Spring @Bean <context:component-scan/> org.springframework.context.annotation        

    .

    Spring @BeginConversation   org.springframework.conversation.annotation 3.1      

    .

    Spring @CacheEvict <cache:annotation-driven/> org.springframework.context.annotation 3.1      

    .

    Spring @Classifier <context:component-scan/>, <context:annotation-config/>, @ComponentScan org.springframework.beans.factory.annotation        

    .

    Spring @Component <context:component-scan/>, @ComponentScan org.springframework.stereotype        

    .

    Spring @ComponentScan @Configuration org.springframework.context.annotation 3.1   Bean Config - works as <context:component-scan />  

    .

    Spring @Configurable <context:component-scan/>, <context:annotation-config/>, @ComponentScan org.springframework.beans.factory.annotation        

    .

    Spring @Configuration <context:component-scan/>, @ComponentScan, ConfigurationClassPostProcessor org.springframework.context.annotation        

    .

    Spring @Controller <context:component-scan/>, @ComponentScan org.springframework.stereotype        

    .

    Spring @DateTimeFormat <mvc:annotation-driven/>, @EnableWebMvc org.springframework.format.annotation        

    .

    Spring @DependsOn <context:component-scan/> org.springframework.context.annotation        

    .

    Spring @EnableAspectJAutoProxy @Configuration org.springframework.context.annotation        

    .

    Spring @EnableAsync <task:annotation-driven/> org.springframework.scheduling.annotation        

    .

    Spring @EnableLoadTimeWeaving   org.springframework.context.annotation 3.1      

    .

    Spring @EnableScheduling <task:annotation-driven/> org.springframework.scheduling.annotation        

    .

    Spring @EnableTransactionManagement @Configuration org.springframework.transaction.annotation 3.1   Bean Config - works as <tx:annotation-driven /> org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration & AbstractTransactionManagementConfiguration

    .

    Spring @EnableWebMvc @Configuration org.springframework.web.servlet.config.annotation 3.1   Bean Config - works as <mvc:annotation-driven />  

    .

    Spring @EndConversation   org.springframework.conversation.annotation 3.1      

    .

    Spring @Feature <context:component-scan/> Not to be in 3.1 org.springframework.context.annotation        

    .

    Spring @FeatureAnnotation <context:component-scan/> Not to be in 3.1 org.springframework.context.annotation        

    .

    Spring @FeatureConfiguration <context:component-scan/> Not to be in 3.1 org.springframework.context.annotation        

    .

    Spring @FilterType   org.springframework.context.annotation        

    .

    Spring @Import <context:component-scan/> org.springframework.context.annotation     Bean Config - Imports other BeanConfig class  

    .

    Spring @ImportResource <context:component-scan/> org.springframework.context.annotation        

    .

    Spring @Lazy <context:component-scan/> org.springframework.context.annotation        

    .

    Spring @MockStaticEntityMethods   org.springframework.mock.staticmock        

    .

    Spring @NumberFormat <mvc:annotation-driven/>, @EnableWebMvc org.springframework.format.annotation        

    .

    Spring @Order <context:component-scan/> org.springframework.core.annotation        

    .

    Spring @Primary <context:component-scan/> org.springframework.context.annotation        

    .

    Spring @Profile <context:component-scan/>, @Configuration org.springframework.context.annotation 3.1 Type String[] profileNames Bean Config - enables bean from environment variable "spring.profiles.active"

    .

    Spring @PropertySource @Configuration org.springframework.context.annotation 3.1     Bean Config - works as <context:property-placeholder />

    .

    Spring @Qualifier <context:component-scan/>, <context:annotation-config/>, @ComponentScan org.springframework.beans.factory.annotation        

    .

    Spring @Repository <context:component-scan/>, @ComponentScan org.springframework.stereotype        

    .

    Spring @Required <context:component-scan/>, <context:annotation-config/>, @ComponentScan, RequiredAnnotationBeanPostProcessor org.springframework.beans.factory.annotation        

    .

    Spring @Role   org.springframework.context.annotation 3.1   3.1  

    .

    Spring @Scheduled <task:annotation-driven/> org.springframework.scheduling.annotation        

    .

    Spring @Scope <context:component-scan/>, @ComponentScan org.springframework.context.annotation        

    .

    Spring @Service <context:component-scan/>, @ComponentScan org.springframework.stereotype        

    .

    Spring @Transactional <tx:annotation-driven/>, @EnableTransactionManagement org.springframework.transaction.annotation        

    .

    Spring @Validated   org.springframework.validation.annotation        

    .

    Spring @Value <context:component-scan/>, <context:annotation-config/>, @ComponentScan, AutowiredAnnotationBeanPostProcessor org.springframework.beans.factory.annotation   Field, Method value:String SpEL Expressions

    .

    Test @ActiveProfiles @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context 3.1 Type String profile, String [] profiles, Boolean inheritProfiles=true  

    .

    Test @AfterTransaction @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context.transaction   Method none  

    .

    Test @BeforeTransaction @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context.transaction   Method none  

    .

    Test @ContextConfiguration @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context   Type String[] value, String[] locations, Class<T>[] classes, Boolean inheritLocations=true, Class<? extends ContextLoader> loader=ContextLoader.class  

    .

    Test @DirtiesContext @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation     ClassMode classMode=ClassMode.AFTER_CLASS or ClassMode.AFTER_EACH_TEST_METHOD  

    .

    Test @ExpectedException @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Method Deprecated  

    .

    Test @IfProfileValue @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Type, Method String name, String value, String[] values https://jira.springsource.org/browse/SPR-7754

    .

    Test @NotTransactional @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Method Deprecated  

    .

    Test @ProfileValueSourceConfiguration @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Type Class<? extends ProfileValueSource> value=SystemProfileValueSource.class  

    .

    Test @Repeat @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Method Integer value=1  

    .

    Test @Rollback @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Method Boolean value=true  

    .

    Test @TestExecutionListeners @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context   Type Class<? extends TestExecutionListener>[] listeners, Class<? extends TestExecutionListener>[] value, Boolean inheritListeners=true  

    .

    Test @Timed @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.annotation   Method Long millis  

    .

    Test @TransactionConfiguration @RunWith(SpringJUnit4ClassRunner.class) org.springframework.test.context.transaction   Type String transactionManager="transactionManager", Boolean defaultRollback=true  

    .

    WS @Action <ws:annotation-driven/> org.springframework.ws.soap.addressing.server.annotation        

    .

    WS @Address <ws:annotation-driven/> org.springframework.ws.soap.addressing.server.annotation        

    .

    WS @Endpoint <context:component-scan/> org.springframework.ws.server.endpoint.annotation        

    .

    WS @Namespace <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

    .

    WS @Namespaces <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

    .

    WS @PayloadRoot <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

    .

    WS @RequestPayload <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

    .

    WS @ResponsePayload <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

    .

    WS @SoapAction <ws:annotation-driven/> org.springframework.ws.soap.server.endpoint.annotation        

    .

    WS @SoapFault <ws:annotation-driven/> org.springframework.ws.soap.server.endpoint.annotation        

    .

    WS @SoapHeader <ws:annotation-driven/> org.springframework.ws.soap.server.endpoint.annotation.        

    .

    WS @XPathParam <ws:annotation-driven/> org.springframework.ws.server.endpoint.annotation        

    .

     
  • 相关阅读:
    BZOJ 1499 NOI2005 瑰丽华尔兹 单调队列
    大整数乘法python3实现
    GPIO
    Java程序猿从笨鸟到菜鸟之(九十二)深入java虚拟机(一)——java虚拟机底层结构具体解释
    TCP三次握手和四次挥手具体解释
    vector的成员函数解析
    Yii PHP Framework有用新手教程
    管道(Pipe)/createPipe
    android使用自己定义属性AttributeSet
    ASP连接sql server实例解析
  • 原文地址:https://www.cnblogs.com/liubin0509/p/3663807.html
Copyright © 2020-2023  润新知