Envers OSGi support

Description

The Gradle OSGi scripting, intro'd in HHH-7941, needs a clear separation of API/SPI and Internal packages in order to create the correct set of Export-Packages and Private-Packages. Anything with ".internal" in it is assumed Private. See core or entitymanager for an example.

Then, integrate with an OSGi container and correct any issues found.

Environment

None

Activity

Show:
Lukasz Antoniak
April 8, 2013, 12:48 PM

Changes pushed to master branch. , maybe try to run Envers in OSGi container and resolve the ticket if successful.

Brett Meyer
April 10, 2013, 6:11 PM

Thanks ! At first glance, it looks good. However, I won't be able to test it until is finished. We're not currently able to discover Integrators from optional bundles.

Brett Meyer
April 10, 2013, 6:26 PM
Edited

Thanks ! At first glance, it looks good. However, I won't be able to test it until is finished. We're not currently able to discover Integrators from optional bundles.

Simple test bed: https://github.com/brmeyer/HibernateOSGi/commit/deb9566b9cdc6c20ed1fbb02dddc6ebba795cfb8

Brett Meyer
April 30, 2013, 4:53 PM

After adding HHH-7995, wiring OSGi services through blueprint.xml, and a few classloader fixes, this is working well! , thanks for the help!

Example usage: https://github.com/brmeyer/HibernateOSGi/commit/744bc87a7989e411ae2ed1bfceb8d52b180a3dd0

Brett Meyer
May 2, 2013, 2:15 PM

Note that the package refactoring occurred only in master. OSGi services and classloader corrections were made in both master and 4.2.

Fixed

Assignee

Lukasz Antoniak

Reporter

Brett Meyer

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure