Commit Graph

164 Commits

Author SHA1 Message Date
Oliver Gierke
6d656bc328 #1 - Added integration test for ordering in OrderAwarePluginRegistry.
Expose that we return OrderAwarePluginRegistry from the factory bean to enable auto wiring the implementation type directly.
2012-10-26 13:03:57 +02:00
Oliver Gierke
93cb86cd52 Fix dependency setup.
Unify test dependencies in parent pom.xml. Fixed logging dependencies to only depend on SLF4j API now (in version 1.7.1). Using Logback as test runtime loggin dependency. Fixed Hamcrest/JUnit setup.
2012-10-26 12:52:25 +02:00
Oliver Gierke
c0e01afed2 #1 - Restructuring of internals to fix ordering not being applied.
Introduced PluginRegistrySupport base class to make sure we create a copy of the plugin list on first access to it as otherwise the sorting calls get lost in the proxy created by the AbstractTypeAwareSupport.

Removed MutablePluginRegistry interfaces and implementation along the way as it causes more bad than good currently and there doesn't seem to be a real need for it.
2012-10-26 12:51:02 +02:00
Oliver Gierke
a4daad6d59 Polished pom.xml
Removed obsolete plugin and profiles setup. Updated Maven plugins to latest versions and dependencies were reasonable.
2012-10-25 12:26:53 +02:00
Oliver Gierke
ce3647339d #1 - Added test case to show implementing Ordered is considered on proxies as well. 2012-10-25 12:26:53 +02:00
Oliver Gierke
417148959a Improved readme file.
Removed manual anchors as Github now automatically adds those to headlines.
2012-05-20 19:53:24 +03:00
Oliver Gierke
6ab36253aa Switch from Docbook to Markdown for documentation.
Added README.markdown with the current state of the reference docs in Markdown.
2012-02-22 16:05:51 +01:00
Oliver Gierke
a9192a1808 Fixed artifact id of Spring integration integration module. 2012-02-22 11:39:25 +01:00
Oliver Gierke
d039caecaf Fixed documentation build. 2012-02-22 11:39:09 +01:00
Oliver Gierke
b4a036b66a Moved project to SpringSource. 2012-02-21 16:04:32 +01:00
Oliver Gierke
49b6dea1f4 Removed Eclipse configuration files. 2012-02-15 22:01:02 +01:00
Oliver Gierke
7693b8ed51 Major overhaul of entire project infrastructure.
Formatted source with Spring formatter. Fixed license headers and author tags.
2012-02-15 21:58:56 +01:00
Oliver Gierke
7a0b433e84 Preprare 0.8.0 development iteration. 2011-10-24 17:24:25 -05:00
Oliver Gierke
8ac7833e8a Prepare 0.7.0 release. 2011-10-24 17:20:22 -05:00
Oliver Gierke
165b340bd0 #510 - Moved Spring Integration module into folder named si.
Polished test case for Spring Integration module.
2011-10-24 17:07:55 -05:00
Oliver Gierke
6443282176 #510 - Further improvements to PluginRegistryAwareMessageHandler.
Fixed typo in property name. Added unit test to reject invalid method name on construction already. Added logging output in debug log level. Tightened XSD to hint plugin-type attribute to be a class.
2011-06-15 13:19:05 +02:00
Oliver Gierke
c7bfd2b214 #510 - Added Spring Integration dynamic service activator based on PluginRegistry.
See the ticket or test config file for usage.
2011-05-25 18:25:44 +02:00
Oliver Gierke
f0b5ff07a8 Updated pom.xml files.
* use Maven artifacts over the ones from the EBR
* moved common test dependencies to parent pom
* updated dependency versions where possible
2011-05-25 18:15:47 +02:00
Oliver Gierke
1686f584ec * use Sonatype infrastructure for deployment
* references #320

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@11662 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-06-24 15:42:52 +00:00
Oliver Gierke
b4e6491e45 * drop own implementation of a reverting comparator by using @InvertibleComparator@ of Spring * fixed some generics
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@11640 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-06-24 13:27:26 +00:00
Oliver Gierke
5bc37d6af5 * fix Bundlor setup * removed dependency to Commons Lang
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@11639 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-06-24 13:27:25 +00:00
Oliver Gierke
cc883dea1a * added @spring.tooling@ for namespace IDE integration
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@11638 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-06-24 13:27:25 +00:00
Oliver Gierke
34c936b8d6 * replaced felix bundle plugin by SpringSource Bundlor
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@11637 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-06-24 13:27:24 +00:00
Oliver Gierke
081a539724 * use OSGi compatible version number * references #320
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@11636 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-06-24 13:27:23 +00:00
Oliver Gierke
f4db81a59a * pom.xml formatting * references #320
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@11634 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-06-24 13:27:22 +00:00
Oliver Gierke
9001678fc9 * updated @pom.xml@ to prepare publishing to Maven central * corrected issue tracker * fixed plugin versions * added SpringSource repositories * updated developer information * references #320
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@11633 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-06-24 13:27:22 +00:00
Oliver Gierke
14433f43c1 * removed redundant exception declaration
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@11632 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-06-24 13:27:21 +00:00
Oliver Gierke
88d639d6cb * [maven-release-plugin] -prepare for next development iteration
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@9567 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-02-25 15:33:30 +00:00
Oliver Gierke
81fbad9a74 * [maven-release-plugin] -prepare release org.synyx.hera-0.6
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@9565 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-02-25 15:33:26 +00:00
Oliver Gierke
98335fb78c * fixed PMD issue with @Comparator@ implementation
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8598 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-12 13:42:00 +00:00
Oliver Gierke
d20e429879 * restructured test cases
* do sorting in the appropriate place

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8547 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:40:30 +00:00
Oliver Gierke
4fa39f3744 * simplified generic signatures
* made @SimplePluginRegistry@ safe against @null@ values

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8546 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:40:28 +00:00
Oliver Gierke
efb58730e3 * replaced @EasyMock@ with @Mockito@
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8545 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:40:26 +00:00
Oliver Gierke
7984449b0b * fixed licence texts and year's in licence texts
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8544 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:40:22 +00:00
Oliver Gierke
68efadea79 * made @plugins@ property protected to allow mutable access for sorting
* created dedicated method for setting a @Comparator@ to clean up internal code
* use @plugins@ property for sorting access instead of @getPlugins@ which returns an immutable @List@ now

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8543 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:23:20 +00:00
Oliver Gierke
4944e4259c * added @getPlugins@ method to @PluginRegistry@ interface
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8542 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:23:18 +00:00
Oliver Gierke
ee20f0f1e0 * removed usage of empty list as it is immutable
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8541 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:23:17 +00:00
Oliver Gierke
7678b1172f * refactored @addPlugin@ to be fluent interface style
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8540 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:23:15 +00:00
Oliver Gierke
91505b785d * minor refactorings and JavaDoc polishing
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8539 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:23:14 +00:00
Oliver Gierke
660653cd1e * opened up @OrderAwarePluginRegistry@ to use any @Comparator@ implementation but falling back on Spring's @AnnotationAwareOrderComparator@ by default
* refactored factory methods accordingly
* polished JavaDoc

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8538 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:23:12 +00:00
Oliver Gierke
b79113c5b0 * added licence header
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8537 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-01-11 14:23:10 +00:00
Oliver Gierke
551436de3f * use concrete type instead of interface
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8472 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-12-28 20:44:39 +00:00
Oliver Gierke
fde7b55dee * opened up factory methods to return the concrete type created
* added @reverse@ method to create @OrderAwarePluginRegistry@ with the reverse order of the plugins

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8471 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-12-28 20:39:53 +00:00
Oliver Gierke
456575717f * moved modifying methods of @PluginRegistry@ into @MutablePluginRegistry@
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8470 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-12-28 20:39:48 +00:00
Oliver Gierke
273a0e169a * added method to determine whether the @PluginRegistry@ contains a @Plugin@ for the given delimiter
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8469 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-12-28 20:39:42 +00:00
Oliver Gierke
04a9aa4287 * fixed use of @Factory@ instead of @FactoryPostProcessor@
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8085 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-11-27 14:54:32 +00:00
Oliver Gierke
a8b1176ffa * added complete XML header to sample usage of namespace
* fixes #164

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8084 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-11-27 14:54:30 +00:00
Oliver Gierke
22068e325a * fixed some Findbugs / Checkstyle issues
* introduced helper methods to minimize necessary @@SuppressWarnings("unchecked")@ scope

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@7555 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-10-23 07:30:25 +00:00
Oliver Gierke
032849a858 * added test case to assert an empty list if no beans are found at all
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@7554 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-10-23 07:30:21 +00:00
Oliver Gierke
7b7442f159 * [maven-release-plugin] -prepare for next development iteration
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@7006 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-09-23 14:50:53 +00:00