Steinar Bang
|
478403b939
Use reflection to get the value of a @Named annotation on an injected StorageService.
|
9 anni fa |
Steinar Bang
|
74a6dc3c79
More detail on the new testbundles used in the integration tests added to the README.
|
9 anni fa |
Steinar Bang
|
5f01bbf9a2
Simpler way of accessing the @Named annotation.
|
9 anni fa |
Steinar Bang
|
b635f6ae6c
Added a version history to the README.
|
9 anni fa |
Steinar Bang
|
f1b94228c6
Preparing for the next release: changed version from 1.0.2-SNAPSHOT to 1.1.0-SNAPSHOT.
|
9 anni fa |
Steinar Bang
|
7c0cc86e1c
Minimize try/catch clauses when getting a field as a collection.
|
9 anni fa |
Steinar Bang
|
ba1d3bcd37
Exclude new bundles used by integration tests from code coverage.
|
9 anni fa |
Steinar Bang
|
9130cd0731
CollectionInjectionCatcherProvider integration test does actual work with one of the injected StorageService instances.
|
9 anni fa |
Steinar Bang
|
e186ae7e94
Implemented the CollectionInjectionCatcherProvider getInjectedStorageServiceNames() and getStorageService() methods.
|
9 anni fa |
Steinar Bang
|
9e79f5dd97
Made it possible to access @Named annotation on injected StorageService instances.
|
9 anni fa |
Steinar Bang
|
0909c8d267
Added a note about the collection injection in the README.
|
9 anni fa |
Steinar Bang
|
37888d9614
Fixed unit test for @Inject annotated non-generic List field.
|
9 anni fa |
Steinar Bang
|
afd3448c9e
Correctly create collection for uninitialized collection field.
|
9 anni fa |
Steinar Bang
|
94eec2aeff
Let the StorageService extend Comparable to make it usable as a TreeSet item.
|
9 anni fa |
Steinar Bang
|
7e14e21563
Added unit tests for various collection types as injection points.
|
9 anni fa |
Steinar Bang
|
db62e22e74
Copied verbatim to preserve history.
|
9 anni fa |
Steinar Bang
|
2bf96355c7
Added a test for injection into a Set<> field, with the field already instantiated.
|
9 anni fa |
Steinar Bang
|
f4703ebea4
Copied verbatim to preserve history.
|
9 anni fa |
Steinar Bang
|
f66a1183a3
Implemented Collection injection for List fields.
|
9 anni fa |
Steinar Bang
|
45b2e6afa4
Check the number of injected StorageService instances in the CollectionInjectionCatcher service provider.
|
9 anni fa |
Steinar Bang
|
d86d11262f
Added StorageService list injection to the CollectionInjectionCatcherProvider.
|
9 anni fa |
Steinar Bang
|
1af4120194
Changed CollectionInjectionCatcher service interface to be more meaningful for testing.
|
9 anni fa |
Steinar Bang
|
531b669a04
Added service that has a provider with a List<> field annotated with @Inject
|
9 anni fa |
Steinar Bang
|
90f1b4a0c3
Added service interface with two activators for use in unit tests.
|
9 anni fa |
Steinar Bang
|
782cc8a58c
Made MockBundleContext support multiple implementations of the same service.
|
9 anni fa |
Steinar Bang
|
29a43a16a2
Used "test" scope on Jsr330Activator embedding example in the README.
|
9 anni fa |
Steinar Bang
|
a599c7dd0d
Avoid getting a transitive dependency on the embedded Jsr330Activator: use test scope
|
9 anni fa |
Steinar Bang
|
70527e82c4
Embed javax.inject directly from the non-bundle jar.
|
9 anni fa |
Steinar Bang
|
f47b7449a1
Added integration test skeleton for collection injection and named service injection.
|
9 anni fa |
Steinar Bang
|
540def4f3e
Correctly provide the CollectionInjectionCatcher service.
|
9 anni fa |