GitHub user samwright opened a pull request:
https://github.com/apache/aries/pull/36
[Aries-1481] Fix inheritance of @OsgiService and @PersistenceContext/Unit
fields
https://issues.apache.org/jira/browse/ARIES-1481
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/samwright/aries ARIES-1481
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/aries/pull/36.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #36
----
commit a905bd2917d7b5272418449c53b1d86879c226cd
Author: Samuel Wright <[email protected]>
Date: 2015-12-12T16:38:35Z
[ARIES-1474] Fix init/destroy method inheritence.
commit 154b046302d7dcd6a64d82da41aa8f960c94da8e
Author: Sam Wright <[email protected]>
Date: 2015-12-12T11:44:41Z
[ARIES-1475] Implement per-method transaction support.
commit 74d0b144c742b4f9b0ee2f8227a65eb9aa4b1a73
Author: Samuel Wright <[email protected]>
Date: 2015-12-12T18:29:25Z
[ARIES-1476] Support 0 or multiple OsgiServiceProvider#classes.
- 0 classes adds auto-export="interfaces" to the service element
- multiple classes adds the interfaces (e.g. A and B) to the interfaces
element:
<service ref="ref">
<interfaces>
<value>A</value>
<value>B</value>
</interfaces>
<service/>
commit 237fa704928b63d379cf4066b678ab213af37f06
Author: Sam Wright <[email protected]>
Date: 2015-12-14T16:48:45Z
[ARIES-1481] Fix inheritance of @OsgiService and @PersistenceContext/Unit
fields
@Inject fields are inherited from parent classes, but @OsgiService and
@PersistenceContext/Unit annotations on fields declared in parent classes
are ignored. This commit extracts the field-getting algorithm used for
finding
@Inject fields to a utility method which is used for finding fields for the
other
annotations.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---