Harald Wellmann created DELTASPIKE-393:
------------------------------------------

             Summary: Support eager instantiation of application scoped beans
                 Key: DELTASPIKE-393
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-393
             Project: DeltaSpike
          Issue Type: New Feature
    Affects Versions: 0.4
            Reporter: Harald Wellmann


It would be useful to have an equivalent of EJB \@Singleton \@Startup for 
\@ApplicationScoped CDI beans.

Working example:
https://gist.github.com/mojavelinux/635719/

The downside of reusing the \@Startup annotation is that it can't be applied to 
producer methods, so I think DeltaSpike should define its own annotation for 
this feature. 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to