Commit Graph

26 Commits

Author SHA1 Message Date
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