- 31 10月, 2013 9 次提交
-
-
由 Rossen Stoyanchev 提交于
This change adds async web request timeout handling to OSIV filters and interceptors to ensure the session or entity manager is released. Issue: SPR-10874
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
AutowireCandidateResolver receives original bean name (including FactoryBean prefix if applicable) for correct generic type check in case of a FactoryBean definition Issue: SPR-11045
-
由 Juergen Hoeller 提交于
Issue: SPR-11046
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-10803
-
由 Phillip Webb 提交于
Update ResolvableType to check that the resolved component type from a generic array is not null before attempting to use it to generate the resolved array class. Issue: SPR-11044
-
由 Rossen Stoyanchev 提交于
This change avoid use of AntPathMatcher to extract URI template variables when the lookup path is used as the best matching pattern. Issue: SPR-10803
-
- 30 10月, 2013 16 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11014
-
由 Juergen Hoeller 提交于
In particular, do not apply them to GroovyObject methods and other kinds of synthetic methods in language runtimes. The only exception are bridge methods since those do eventually point to a user-level generic method. Issue: SPR-10803
-
由 Juergen Hoeller 提交于
AbstractApplicationContext's ApplicationListenerDetector removes listeners from ApplicationEventMulticaster on individual destruction Issue: SPR-7856
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
This changes switches from using Jetty's WebSocketListener interface to use Jetty's @WebSocket annotations instead. The change should be transparent but the annnotations provide a little more controler including handling pong frames. This change also introduces a WebSocketMessage interface. Issue: SPR-10877
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Introduced a "setCachePatterns(boolean)" method for explicit configuration, a default turnoff threshold at 65536 entries (at which point we're deciding that caching isn't worthwhile because patterns are unlikely to be reoccurring often enough), and an "AntPathStringMatcher getStringMatcher(String pattern)" template method. Issue: SPR-10803
-
由 Juergen Hoeller 提交于
Issue: SPR-10430
-
由 Sam Brannen 提交于
- Fixed typos in Javadoc - Formatted Javadoc
-
由 Brian Clozel 提交于
This commit upgrades Jetty to the latest available 9.1.x version while also preserving compatibility with 9.0.x.
-
由 Sam Brannen 提交于
- Removed unused imports - Organized imports - Deleted unused fields - Deleted unused local variables - Deleted unused private static classes
-
由 Sam Brannen 提交于
- Removed unused imports - Organized imports - Discontinued use of deprecated junit.framework.Assert class - Suppressed warnings where appropriate - Added missing generics to return type for getMappingComparator() in SimpAnnotationMethodMessageHandler
-
由 Phillip Webb 提交于
Remove Javadoc linkplain to ExceptionHandler#value() from AnnotationMethodHandlerExceptionResolver to work around JDK Javadoc bug 9007707.
-
- 29 10月, 2013 6 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
- add WebSocketHttpHeaders - client-side support for WebSocket extensions - DefaultHandshakeHandler updates - replace use of ServletAttributes in JettyRequestUpgradeStratey - upgrade spring-web to jetty 9.0.5
-
由 Brian Clozel 提交于
This commits adds simple, overridable WebSocket Extension filtering during the handshake phase and adds that information in the WebSocket session. The actual WebSocket Extension negotiation happens within the server implementation (Glassfish, Jetty, Tomcat...), so one can only remove requested extensions from the list provided by the WebSocket client. See RFC6455 Section 9. Issue: SPR-10843
-
由 Phillip Webb 提交于
Polish BeanMethodPolymorphismTests and add @Ignored failing test for SPR-10988. Issue: SPR-10988
-
由 Rob Winch 提交于
-
- 28 10月, 2013 9 次提交
-
-
由 Juergen Hoeller 提交于
Also using ClassUtils.forName in AutowireUtils now in order to accept all common class name formats. Issue: SPR-11034
-
由 Sam Brannen 提交于
@WebTests has been renamed to @WebTest so that the Gradle build does not attempt to run it as a JUnit test.
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
* SPR-7827: Provide meta-annotation support in the TCF
-
由 Sam Brannen 提交于
Spring 3.0 already allows component stereotypes to be used in a meta-annotation fashion, for example by creating a custom @TransactionalService stereotype annotation which combines @Transactional and @Service in a single, reusable, application-specific annotation. However, the Spring TestContext Framework (TCF) currently does not provide any support for test-related annotations to be used as meta-annotations. This commit overhauls the TCF with regard to how annotations are retrieved and adds explicit support for the following annotations to be used as meta-annotations in conjunction with the TCF. - @ContextConfiguration - @ContextHierarchy - @ActiveProfiles - @DirtiesContext - @IfProfileValue - @ProfileValueSourceConfiguration - @BeforeTransaction - @AfterTransaction - @TransactionConfiguration - @Rollback - @TestExecutionListeners - @Repeat - @Timed - @WebAppConfiguration Note that meta-annotation support for @Transactional was already available prior to this commit. The following is a summary of the major changes included in this commit. - Now using AnnotationUtils.getAnnotation() instead of Class.getAnnotation() where appropriate in the TestContext Framework. - Now using AnnotationUtils.findAnnotation() instead of Class.isAnnotationPresent() where appropriate in the TestContext Framework. - Introduced findAnnotationPrefersInteracesOverLocalMetaAnnotations() in AnnotationUtilsTests in order to verify the status quo. - AnnotationUtils.findAnnotationDeclaringClass() and AnnotationUtils.findAnnotationDeclaringClassForTypes() now support meta annotations. - Introduced MetaAnnotationUtils and AnnotationDescriptor in the spring-test module. - Introduced UntypedAnnotationDescriptor in MetaAnnotationUtils. - Introduced findAnnotationDescriptorForTypes() in MetaAnnotationUtils. - ContextLoaderUtils now uses MetaAnnotationUtils for looking up @ActiveProfiles as a potential meta-annotation. - TestContextManager now uses MetaAnnotationUtils for looking up @TestExecutionListeners as a potential meta-annotation. - DirtiesContextTestExecutionListener now uses AnnotationUtils for looking up @DirtiesContext as a potential meta-annotation. - Introduced DirtiesContextTestExecutionListenerTests. - ProfileValueUtils now uses AnnotationUtils for looking up @IfProfileValue and @ProfileValueSourceConfiguration as potential meta-annotations. - @BeforeTransaction and @AfterTransaction now support ANNOTATION_TYPE as a target, allowing them to be used as meta-annotations. - TransactionalTestExecutionListener now uses AnnotationUtils for looking up @BeforeTransaction, @AfterTransaction, @Rollback, and @TransactionConfiguration as potential meta-annotations. - Introduced TransactionalTestExecutionListenerTests. - @Repeat and @Timed now support ANNOTATION_TYPE as a target, allowing them to be used as meta-annotations. - SpringJUnit4ClassRunner now uses AnnotationUtils for looking up @Repeat and @Timed as potential meta-annotations. - Moved all remaining logic for building the MergedContextConfiguration from the DefaultTestContext constructor to ContextLoaderUtils.buildMergedContextConfiguration(). - Verified meta-annotation support for @WebAppConfiguration and @ContextConfiguration. Issue: SPR-7827
-
由 Juergen Hoeller 提交于
Issue: SPR-11034
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
XML-defined arguments values are initially turned into TypedStringValue wrappers. If we encounter an unresolved argument, we need to unwrap such a TypedStringValue and then try to treat its content as a class name. Issue: SPR-11034
-