bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (Jira)" <j...@apache.org>
Subject [jira] [Commented] (BVAL-184) Support for proxied instances
Date Tue, 08 Dec 2020 21:45:00 GMT

    [ https://issues.apache.org/jira/browse/BVAL-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246164#comment-17246164
] 

Romain Manni-Bucau commented on BVAL-184:
-----------------------------------------

Do you have some broken example?

Current impl works for owb and weld and we want the class more than the instance generally.

Also not sure of getter point, works for fields too.

> Support for proxied instances
> -----------------------------
>
>                 Key: BVAL-184
>                 URL: https://issues.apache.org/jira/browse/BVAL-184
>             Project: BVal
>          Issue Type: New Feature
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>            Priority: Major
>
> currently org.apache.bval.jsr.util.Proxies just detects the real class, but that means
only getters can get annotated.
> with a spi like
> {code}
> public interface InstanceResolver extends Comparable<InstanceResolver> {
>     <T> T resolveInstance(T instance);
>     //...
> }
> {code}
> it would be possible to create resolvers for external libs (like owb, weld, ...)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message