Marco Collovati
382cf43b13
#29 - Fixed assertion in OrderAwarePluginRegistryUnitTest.assertOrder
...
Fixed assertion to compare result with expected object.
Original pull request: #30 .
2017-01-31 11:39:27 +01:00
Oliver Gierke
263b6539e9
#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 11:39:24 +01:00
Oliver Gierke
cfddee95c1
#2 - Added Logback configuration and ditched Log4J.
2012-11-22 10:25:47 +01:00
Oliver Gierke
ccadfe6a50
#3 - Fixed declaration of exported type in namespace XSD.
2012-11-22 10:04:26 +01:00
Oliver Gierke
50857dc867
BeanListFactoryBean creates defensive copy of beans found.
...
This is necessary to the sorting applied correctly as it would be dropped through the proxy access otherwise.
2012-10-29 14:52:07 +01:00
Oliver Gierke
30e2b2c2fe
Added support for exclusions to AbstractTypeAwareSupport.
...
AbstractTypeAwareSupport now takes an array of type to be excluded from the bean lookup. The BeansOfTypeTaregtSource's actual bean lookup was changed to not trigger bean creation of types to be excluded.
2012-10-29 14:51:26 +01:00
Oliver Gierke
ed7014cd31
Improvements in PluginRegistry implementations.
...
Improved constructor delegation in OrderAwarePluginRegistry correctly passing empty collections instead of null now. SimplePluginRegistry avoids to look up all plugins for the getPluginFor(…) call. Instead it eagerly returns the first one matching immediately.
2012-10-29 14:49:44 +01:00
Oliver Gierke
f1d9a630f4
Added support for creating PluginRegistry instances via JavaConfig.
...
Introduced @EnablePluginRegistries to list the Plugin interfaces the container shall expose PluginRegistry instances for.
2012-10-26 13:05:45 +02:00
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
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
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
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
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
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
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
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
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
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
7e427d52a9
* added documentation of XML namespace elements (for rudimentary out-of-the-box editor support)
...
* formatting
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@6984 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-09-23 13:16:21 +00:00
Oliver Gierke
137c0e7442
* moved annotation to more appropriate type
...
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@6980 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-09-23 12:53:39 +00:00
Oliver Gierke
9879cb70ab
* let @BeanListFactoryBean@ regards bean order before handing them out to clients
...
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@6963 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-09-23 08:35:18 +00:00
Oliver Gierke
88f8b46dae
* let the simple @BeanListFactoryBean@ take the order of the collected beans into account
...
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@6961 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-09-23 08:35:12 +00:00
Oliver Gierke
a0b7b1c2ca
* cleaned up folder structure
...
* OSGiyfied artifact names
* polished poms a little
* edited Eclipse project names to align artifact id
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@6618 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2009-08-05 17:15:56 +00:00