You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "James Bognar (Jira)" <ji...@apache.org> on 2020/03/07 18:17:00 UTC

[jira] [Closed] (JUNEAU-188) @Bean annotation should override class visibility rules.

     [ https://issues.apache.org/jira/browse/JUNEAU-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Bognar closed JUNEAU-188.
-------------------------------
    Fix Version/s: 8.1.4
         Assignee: James Bognar
       Resolution: Fixed

> @Bean annotation should override class visibility rules.
> --------------------------------------------------------
>
>                 Key: JUNEAU-188
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-188
>             Project: Juneau
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 8.1.3
>            Reporter: James Bognar
>            Assignee: James Bognar
>            Priority: Major
>             Fix For: 8.1.4
>
>
> If you define a @Bean annotation on a private class (or anything that's not public), then it should be treated as a bean.  Currently the @Bean annotation is ignored if the class does not meet the visibility requirements.



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