[
https://hibernate.onjira.com/browse/HV-570?page=com.atlassian.jira.plugin...
]
Charlie Mordant commented on HV-570:
------------------------------------
I can't speak for all OSGeeks, but, personnally, I just wanted to have a
ValidatorFactory exposed as a service (in a JEE environment, it is equivalent to have a
CDI bean that we can reference via @Inject, in OSGI, we do the same thing for inter
bundles communication via <osgi:reference
interface="javax.validation.ValidatorFactory"/>).
If I want to create some custom validation annotations, I want to create a custom
ValidatorFactory located in a fragment of this Service-Exporter bundle (the problem comes
when you want to register multiple factories and using a different between bundles).
The actual solution would be the attached bundle with an externalized OsgiValidatorFactory
(located in a service-exporter fragment).
I don't know if this covers the entire Validation purpose, but it totally fit my
needs.
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