- 10 5月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Change ContextHierarchyDirtiesContextTests to obtain beans whilst the ApplicationContext is still open, rather than trying to obtain them after the context has been closed.
-
- 09 5月, 2013 9 次提交
-
-
由 Phillip Webb 提交于
* SPR-10534: Add support for DeferredImportSelector Support for @Conditional configuration Extend AnnotationMetadata and MethodMetadata
-
由 Phillip Webb 提交于
Add DeferredImportSelector interface that can be used to select imports after all @Configuration beans have been processed.
-
由 Phillip Webb 提交于
Introduce new @Conditional annotation that can be used to filter which @Configuration classes or methods are loaded. @Conditional can be used directly or as a meta-annotation. Condition implementations are provided via the 'Condition' interface and are free to filter based on any criteria available at the time that they run. The ConditionalContext provides access to the BeanDefinitionRegistry, Environment and ConfigurableListableBeanFactory along with a ResourceLoader and ClassLoader. The existing @Profile annotation has been refactored as a @Conditional with the added benefit that it can now be used as a method level annotation.
-
由 Phillip Webb 提交于
Update AnnotationMetadata and MethodMetadata to extend from a new AnnotatedTypeMetadata base interface containing the methods that are common to both. Also introduce new getAllAnnotationAttributes methods providing MultiValueMap access to both annotation and meta-annotation attributes. Existing classreading and standard implementations have been refactored to support the new interface.
-
由 Phillip Webb 提交于
Add PropertySourcesPlaceholderConfigurer.getAppliedPropertySources() to allow access to the PropertySources that were actually applied. Issue: SPR-10545
-
由 Phillip Webb 提交于
Allow ClassPathContextResource to be accessed by subclasses of DefaultResourceLoader. Issue: SPR-10544
-
由 Phillip Webb 提交于
-
由 Phillip Webb 提交于
Update ServletContextAwareProcessor to allow subclasses to support late binding of the ServletConfig and/or ServletContext. Allows for the post-processor to be registered before the servlet environment has been initialized. Issue: SPR-10381
-
由 Phillip Webb 提交于
Change FrameworkServlet so that it can also be used as a bean within an existing ApplicationContext. Primarily added to support use with embedded servlet containers where Spring bootstraps the servlet container, rather than the servlet container bootstrapping Spring. Issue: SPR-10381
-
- 08 5月, 2013 11 次提交
-
-
由 Chris Beams 提交于
- Remove references to python and .net variants - Update prereqs for building from source to JDK 1.8
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-10392
-
由 Juergen Hoeller 提交于
Issue: SPR-10389
-
由 Juergen Hoeller 提交于
Issue: SPR-8108
-
由 Juergen Hoeller 提交于
Issue: SPR-10373
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Following the introduction of spring-beans-4.0.xsd and the corresponding removal of the pre-2.0 spring-beans.dtd. Issue: SPR-10437
-
由 Juergen Hoeller 提交于
Removed spring-beans.dtd (the 1.x variant) and spring-oxm-1.5.xsd (pre-Spring-Framework variant), in order to raise the backwards compatibility limit a little bit at least. We'll keep supporting the 2.0 and 2.5 xsd versions for the time being, as well as spring-beans-2.0.dtd. Removed the ref 'local' attribute in spring-beans-4.0.xsd since 'local' lost its differentiating role to a regular bean ref back in the 3.1 days when we started allowing for the same bean id to reappear in a different beans section of the same configuration file (with a different profile). Issue: SPR-10437
-
- 07 5月, 2013 14 次提交
-
-
由 Phillip Webb 提交于
Add temporary Assume.canLoadNativeDirFonts() method allowing failing jasper report tests to be bypassed on OSX. This should be revisited when JDK 8 is released. Issue: SPR-10537
-
由 Rossen Stoyanchev 提交于
-
由 Phillip Webb 提交于
Allow classes that are annotated with @Import to be considered as 'lite' @Configuration candidates. Allows the AnnotationConfigApplicationContext to directly register @Import beans even if they are not @Components. Issue: SPR-10533
-
由 Phillip Webb 提交于
Exclude self @Component when parsing @ComponentScan annotations. Issue: SPR-10531
-
由 Phillip Webb 提交于
Implementations of Spring's ImportSelector interface may now implement any of the following *Aware interfaces and have their respective methods called prior to #registerBeanDefinitions: - BeanFactoryAware - BeanClassLoaderAware - ResourceLoaderAware Issue: SPR-10530
-
由 Phillip Webb 提交于
Add AnnotationConfigApplicationContext constructor allow use of a custom DefaultListableBeanFactory. Issue: SPR-10529
-
由 Phillip Webb 提交于
Update the SpringFactoriesLoader static loadFactoryNames method from private to public. Issue: SPR-10528
-
由 Phillip Webb 提交于
-
由 Phillip Webb 提交于
Specifically set the source level in generated eclipse projects to 1.7 rather than 1.8. Allows the current eclipse milestone (4.3 M6) in combination with JDK 8.0 to be used for Spring 4.0 development.
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Sam Brannen 提交于
This commit removes the use of @SuppressWarnings("deprecation") for code in the spring-test module that no longer references deprecated code. Issue: SPR-10499
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 06 5月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Sam Brannen 提交于
This commit adds an explicit version to the updated XML configuration file in order to avoid build errors in IntelliJ IDEA 12.
-
- 05 5月, 2013 1 次提交
-
-
由 Sam Brannen 提交于
- JdkVersion#JAVA_19 is now properly set to 6 instead of 5. - Javadoc for getMajorJavaVersion() now references currently supported Java versions.
-
- 03 5月, 2013 2 次提交
-
-
由 Juergen Hoeller 提交于
Specifically, we need to avoid "... ? this.method : this.constructor" expressions since those potentially select java.lang.reflect.Executable (which is only available on JDK 8) as common type and hardcode this into the generated bytecode (which therefore becomes JDK 8 dependent).
-
由 Juergen Hoeller 提交于
Issue: SPR-10512
-