126 Commits

Author SHA1 Message Date
Oliver Drotbohm
c8229f657c GH-105 - Prepare next development iteration. 2025-04-17 17:02:21 +02:00
Oliver Drotbohm
35e70425b8 GH-105 - Release version 4.0.0-M1. 2025-04-17 17:02:21 +02:00
Oliver Drotbohm
9e61d0d225 GH-110 - Remove deprecations and fix Javadoc warnings. 2025-02-14 17:20:30 +01:00
Oliver Drotbohm
e5021d0765 GH-110 - Switch to JSpecify for nullness analysis. 2025-02-14 16:54:47 +01:00
Oliver Drotbohm
509da3be5a GH-108 - Re-introduce PluginRegistryFactoryBean to implement ApplicationContextAware and Initializing bean.
We now implement the aforementioned interfaces again in deprecated form to allow the new arrangement to be a drop-in replacement for the old approach.
2025-02-14 15:31:02 +01:00
Oliver Drotbohm
b8a62c8caa GH-108 - Simplify collection of backing bean lists for PluginRegistry instances.
We now use the API newly introduced in Spring Framework 6.2.3 / 7.0 M2 to select filtered bean instances from an ObjectProvider (via ….stream(Predicate<Class<?>> filter)). This allows us to avoid having to proxy a List as the ultimate target for the plugin registry. Instead, we can switch to a simple Supplier (SingletonSupplier in particular) to delay the actual bean lookup.

String first pass of refactorings and reducing the exposure of intermediate types previously necessary to also be able to handle the ability to inject lists of beans (see GH-107). Also remove the previously AOT runtime hints registration.
2025-02-13 12:48:06 +01:00
Oliver Drotbohm
5c6105d208 GH-107 - Remove support for injecting lists of beans. 2025-02-13 12:42:54 +01:00
Oliver Drotbohm
4d7d024c98 GH-106 - Remove support for XML namespace. 2025-02-13 12:42:34 +01:00
Oliver Drotbohm
e9a0184556 GH-103 - Upgrade to Spring Framework 7.0 M2. 2025-02-13 11:10:46 +01:00
Oliver Drotbohm
41f0842695 GH-105 - Prepare next development iteration. 2025-02-13 10:52:15 +01:00
Oliver Drotbohm
e39fd453e1 #95 - Prepare next development iteration. 2022-11-16 12:29:55 +01:00
Oliver Drotbohm
ef76b02061 #95 - Release version 3.0.0. 2022-11-16 12:29:55 +01:00
Oliver Drotbohm
4fb9799588 #92 - Prepare next development iteration. 2022-10-12 12:33:19 +02:00
Oliver Drotbohm
944fe1e8c8 #92 - Release version 3.0.0-RC1. 2022-10-12 12:33:19 +02:00
Oliver Drotbohm
031b7b06d0 #89 - Prepare next development iteration. 2022-09-15 11:55:38 +02:00
Oliver Drotbohm
2d816c70e5 #89 - Release version 3.0.0-M2. 2022-09-15 11:55:38 +02:00
Oliver Drotbohm
63a641de90 #85 - Remove obsolete manual hint for PluginRegistryFactoryBean.
As spring-projects/spring-framework#28913 has been fixed.
2022-08-03 15:11:30 +02:00
Oliver Drotbohm
de36c2147f #85 - Open up PluginRegistryFactoryBean.setType(…) for native reflection. 2022-08-02 14:19:48 +02:00
Oliver Drotbohm
6b29956553 #85 - Register runtime hints for native proxy creation. 2022-08-02 13:41:27 +02:00
Oliver Drotbohm
35371796af #85 - Tweak plugin registry bean definitions to behave better on AOT.
We now set a fully genericised root bean type in the first place, tweak the bean definition's target type as we did before but still set the beanClass property to the original PluginRegistryFactoryBean type.
2022-08-02 13:38:25 +02:00
Oliver Drotbohm
4b3726d040 #77 - Prepare next development iteration. 2022-01-14 12:02:39 +01:00
Oliver Drotbohm
07f7e7bf5f #77 - Release version 3.0 M1. 2022-01-14 11:50:33 +01:00
Oliver Drotbohm
0640f729d1 #77 - Bump version number to 3.0. 2021-09-20 17:18:56 +02:00
Oliver Drotbohm
9946187324 #70 - Switch to current version scheme. 2021-09-20 17:10:51 +02:00
Oliver Drotbohm
183dd383d0 #76 - Upgrade to JUnit 5. 2021-09-20 17:06:50 +02:00
Spring Buildmaster
482d15609a #70 - [artifactory-release] Next development version. 2019-09-30 11:18:48 +00:00
Spring Buildmaster
74a854d460 #70 - [artifactory-release] Release version 2.0.0.RELEASE. 2019-09-30 11:18:45 +00:00
Mark Paluch
7af699372a #69 - Include license and notice files in binaries. 2019-09-30 10:23:52 +02:00
Spring Operator
f8b2b83065 #54 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://www.springframework.org/schema/plugin/spring-plugin.xsd (404) with 1 occurrences migrated to:
  https://www.springframework.org/schema/plugin/spring-plugin.xsd ([https](https://www.springframework.org/schema/plugin/spring-plugin.xsd) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 3 occurrences migrated to:
  https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd) result 301).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 6 occurrences
* http://www.springframework.org/schema/beans with 2 occurrences
* http://www.springframework.org/schema/plugin with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 4 occurrences
2019-09-23 14:12:38 +02:00
Spring Operator
00fe8dabb4 #58 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 27 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-09-23 14:10:53 +02:00
Spring Buildmaster
919f0934c2 #66 - Prepare next development iteration. 2019-06-13 22:13:24 +00:00
Spring Buildmaster
a9c2534cc9 #66 - Release version 2.0.0.M2. 2019-06-13 22:13:21 +00:00
Oliver Drotbohm
907c541633 #53 - Polishing. 2019-03-18 19:41:18 +01:00
Oliver Drotbohm
ec7ca4fb92 #53 - Tightened nullability contract and added nullability annotations. 2019-03-18 19:41:09 +01:00
Spring Buildmaster
21cbf686c0 #48 - Prepare next development iteration. 2019-03-04 15:32:03 +00:00
Spring Buildmaster
3417ab0fa5 #48 - Release version 2.0.0.M1. 2019-03-04 15:31:58 +00:00
Oliver Drotbohm
4f05683a85 #48 - Aligned factory methods in SimplePluginRegistry with OrderAwarePluginRegistry. 2019-03-04 16:13:19 +01:00
Oliver Drotbohm
a826473c10 #46 - Polishing.
Trailing whitespace.
2019-02-01 15:42:52 +01:00
Oliver Drotbohm
af3b10d2af #46 - Upgrade dependencies.
Upgrade to Spring 5.1.4. Removed obsolete exclusions of Commons Logging. Introduced automatic module names. Set build encoding to UTF-8.

Upgrade to Slf4j 1.7.25, Logback 1.2.3, Maven Compiler Plugin 3.8, Maven Source 3.0.1, Maven JAR Plugin 3.1.1, Maven Javadoc Plugin 3.0.1.
2019-02-01 15:42:46 +01:00
Oliver Drotbohm
c26af82abf #45 - Polishing.
Mostly trailing whitespace.
2019-02-01 15:27:01 +01:00
Oliver Drotbohm
764772cb13 #45 - Introduced PluginRegistry.of(…) factory methods.
The introduced methods mostly mimic the ones available on OrderAwarePluginRegistry except the one that's implying a certain order in the first place. Also introduced ….of(…) factory methods on OrderAwarePluginRegistry and deprecated the ….create(…) ones.
2019-02-01 15:26:40 +01:00
Oliver Gierke
e6b652d240 #42 - Java 8 cleanups in OrderAwarePluginRegistry.
Removed deprecated use of InvertibleComparator in favor of Java 8's Comparator.reversed(). Made comparator field final. Added non-null assertions. Removed superfluous generic method type hints. Javadoc.
2017-04-21 08:06:23 +02:00
Oliver Gierke
1298d05e9f #41 - Polishing.
Javadoc.
2017-04-21 08:03:32 +02:00
Oliver Gierke
856f662cf9 #41 - Added PluginRegistry.getRequiredPlugin(…).
Added aforementioned method for clients to look up a required plugin with the registry throwing a default exception if none is found. An overload taking a Supplier<String> is available to customize the exception message if needed.
2017-04-21 08:03:23 +02:00
Oliver Gierke
605b22ed82 #37, #38 - Move to Java 8 concepts in PluginRegistry API.
Moved to Optional instead of null values in the API. Removed deprecated methods in favor of methods taking a Supplier for both exceptions to be thrown or plugin defaults.
2017-02-14 12:00:36 +01:00
Oliver Gierke
8f64dce90b #38 - Removed Bundlor from build setup. 2017-02-14 11:51:48 +01:00
Oliver Gierke
1f0f6e0aec #35 - Prepare 2.0 development.
Upgraded to Spring 5.0 M3 and Java 8.
2017-01-31 11:44:45 +01:00
Marco Collovati
0429686b46 #29 - Fixed assertion in OrderAwarePluginRegistryUnitTest.assertOrder
Fixed assertion to compare result with expected object.

Original pull request: #30.
2017-01-31 11:38:06 +01:00
Oliver Gierke
2abef3aafc #31 - Move away from deprecated assertion methods in Spring 5.
We now consistently use Assert.notNull(…) et al that take an error message as the overload without a message have been deprecated in Spring 5.

Added build profile for Spring 5 releases and snapshots.
2017-01-31 10:48:22 +01:00
Shanmukha Rao Meesala
66eaf45b17 #24 - Use correct execution environment for Java 6 in manifest.
Updated template.mf to render a correct Java 6 execution environment (i.e. JavaSE-1.6 instead of J2SE-1.6).

Original pull request: #25.
2016-08-30 15:06:08 +02:00