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
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
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
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
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
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
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
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