[hibernate-issues] [Hibernate-JIRA] Commented: (HV-570) Provide an hibernate validator OSGI service exporter

Hardy Ferentschik (JIRA) noreply at atlassian.com
Wed Apr 11 04:56:49 EDT 2012


    [ https://hibernate.onjira.com/browse/HV-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46237#comment-46237 ] 

Hardy Ferentschik commented on HV-570:
--------------------------------------

{quote}
You're right, Spring is not mandatory, I just used it for convenience (is it totally banned from JBoss developments?).
{quote}
This has nothing with a ban to do ;-) However, as you say yourself Spring is needed for OSGi. If we want to address issues related to OSGi we should keep the solutions as generic as possible so that they fit many different usecases. 
I guess what I am trying to understand is how this relates to BVAL-251 and HV-523.
What exactly does it mean that I publish the validator factory as an OSGi service and how does this relate to general Bean Validation bootstrapping.

{quote}
This script is easily upgradable, you just have to put the OsgiValidatorFactory in a fragment or publish as an OSGI service (you can name it SimpleOsgiValidatorFactory).
{quote}

Well, maybe you could provide a patch, because I am still not quite clear on this :-)


> Provide an hibernate validator OSGI service exporter
> ----------------------------------------------------
>
>                 Key: HV-570
>                 URL: https://hibernate.onjira.com/browse/HV-570
>             Project: Hibernate Validator
>          Issue Type: New Feature
>          Components: engine
>    Affects Versions: 4.3.0.Alpha1
>            Reporter: Charlie Mordant
>            Priority: Minor
>
> Hi,
> I've created a hibernate validator OSGI service exporter.
> Feel free to use it, publish it on central (it will be cool), modify...
> You can find it in my github: https://github.com/Tcharl/org.hibernate.validation.osgi.service/
> Regards,

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list