Spring Project Annotations

2019-03-27 01:07|来源: 网路

   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        

.

 

转自:http://www.cnblogs.com/liubin0509/p/3663807

相关问答

更多
  • spring
  • 从...开始: Spring参考: 基于Java的容器配置 如果您有任何不明白的地方,请询问具体问题。 Mkyong.com have few examples (1, 2) with source code. Finally found answer for my first stackoverflow question after about half a year.
  • 我通过创建新的注解来解决这个问题,该注释用于标记API接口并覆盖org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping boolean isHandler(Class beanType)方法。 此方法最初检查类(或类实现的任何接口)是否使用Controller或RequestMapping注释进行注释。 我添加了额外的检查,查找我的BackEndApiInterface注释,如果找到,则返回f ...
  • 是否有可能避免在Spring中使用xml或更好地混合xml文件和注释? 是的。 Spring现在促进了Java配置,它完全可行(我正在这样做),甚至很容易只用Java来配置你的Spring应用程序。 即使不使用引导。 Spring开发人员使用Spring Boot是东方吗? 为什么不呢? 这是有据可查的,并基于春季最佳实践。 我能用Spring Boot学习Spring吗? 我怎么能回答这个问题。 试着去做,你会看到你是否有能力。 Spring Boot是否足够成熟以用于生产? 是的。 你链接的文章是一岁。 ...
  • 你应该试试Spring Roo 。 它将使用简单的命令为您生成一个简单的Spring应用程序,然后您可以逐步扩展它。 它是学习Spring以及快速应用程序开发的一个很好的工具。 您还可以找到Spring 3.0 MVC 框架的几个示例。 You should try Spring Roo. It will generate a simple Spring application for you using simple commands and then you can incrementally exte ...
  • 只有涉及方面/安全拦截器时,弹簧安全才有效。 在您的代码test()中,test2(),test3(),test4()直接从控制器方法登录中调用。 所以不会有任何方面的参与导致安全被绕过。 如果测试方法是另一个spring bean的一部分,那么这应该像你期望的那样工作。 或者如果它们在同一个类中,则应该使用spring bean而不是this(当前对象)调用它。 actully spring security works only if aspect/security interceptor involv ...
  • 没关系,我设法通过“将自定义皮肤应用于Enunctiate的文档”来解决这个问题( http://docs.codehaus.org/display/ENUNCIATE/Applying+a+Custom+Skin+to+Enunciate%27s+Documentation ) 我修改了docs.xml.fmt以及docs.fmt enunciate-docs的docs.fmt,以便识别'@Secured'注释。 不幸的是,对于docs.xml.fmt ,没有像docs.fmt那样自定义的简洁方法。 所以 ...
  • 如果field是可空的,只需删除min标志( 默认值为0 )。 Removed so as not to compromise the exercise.
  • 您需要找到实际检查注释的代码并根据它执行一些逻辑。 理论上这可能发生在几个地方。 如果在源代码中搜索WhateverAnnotation.class出现位置,则可以找到这些位置。 如果您已在IDE中正确链接源,则还可以在其中放置断点。 You need to find the code that actually checks for the annotation and executes some logic based on it. This could theoretically happen in ...