deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DELTASPIKE-161) veto internal beans annotated with @Typed()
Date Mon, 11 Jun 2012 09:03:42 GMT

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

Mark Struberg commented on DELTASPIKE-161:
------------------------------------------

We might have ~ 100 such classes all over DeltaSpike, and we have 15.000 classes in a typical
installation. Such optimisations are up to the CDI container. OWB already optimises away most
of it due to it's caching. And I remember that Weld also introduced caching for Beans quite
some time ago. In practice there is just no performance impact. So we shall not do premature
optimisations. Especially if they can also have a drawback on other CDI use cases (@New in
producer methods. rarely used, but still...)
                
> veto internal beans annotated with @Typed()
> -------------------------------------------
>
>                 Key: DELTASPIKE-161
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-161
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.2-incubating
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>             Fix For: 0.3-incubating
>
>
> we shouldn't use @Exclude internally because it's possible to deactivate it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message