[hibernate-dev] Redefining the API/SPI/implementation split

Hardy Ferentschik hardy at hibernate.org
Mon Dec 8 05:18:19 EST 2014


Hi,

On Mon, Dec 08, 2014 at 10:47:25AM +0100, Emmanuel Bernard wrote:
> BTW, can’t you isolate those classes in a dedicated package still marked `impl` but have it exposed to OSGi?

That was my suggestion as well. It is probably not the worst alternative. It moves the class out of the spi
package and makes it an impl class (properly indicating that it is not to be used by anyone else).
The downside is that we still need to expose this impl package via OSGi. However, since it would be a "dedicated"
package just for this integration code, the impact would be minimal. 

Mind you, I still believe that we could address the whole issue in a much cleaner way as well.

--Hardy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 496 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/hibernate-dev/attachments/20141208/ab3e81ac/attachment.bin 


More information about the hibernate-dev mailing list