You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Gerhard Petracek (Jira)" <ji...@apache.org> on 2020/12/08 21:33:00 UTC

[jira] [Commented] (BVAL-184) Support for proxied instances

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

Gerhard Petracek commented on BVAL-184:
---------------------------------------

first draft:
https://github.com/os890/bval
+
addons für owb and weld:
https://github.com/os890/cdi-bval-proxy-addon
(we could move those addons to bval itself)

> 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)