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

Charlie Mordant (JIRA) noreply at atlassian.com
Tue Apr 10 03:15:48 EDT 2012


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

Charlie Mordant commented on HV-570:
------------------------------------

Hi Kevin,

You're right, Spring is not mandatory, I just used it for convenience (is it totally banned from JBoss developments?).
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).

For advanced usage, user just have to implement his specific Factory.
Same way for a ValidatorConfiguration.

I gave you the source code, I never said it was a perfect one ;)

Regards

> 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