[weld-issues] [JBoss JIRA] (WELD-910) Wrong example code - refering non-existent Weld#shutdown()
Jozef Hartinger (JIRA)
jira-events at lists.jboss.org
Fri Mar 9 07:47:36 EST 2012
[ https://issues.jboss.org/browse/WELD-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Hartinger updated WELD-910:
---------------------------------
Fix Version/s: 2.0.0.Alpha2
> Wrong example code - refering non-existent Weld#shutdown()
> ----------------------------------------------------------
>
> Key: WELD-910
> URL: https://issues.jboss.org/browse/WELD-910
> Project: Weld
> Issue Type: Bug
> Components: Documentation
> Reporter: Ondrej Zizka
> Assignee: Ales Justin
> Fix For: 1.2.0.Beta1, 2.0.0.Alpha2
>
>
> http://docs.jboss.org/weld/reference/latest/en-US/html_single/#weld-se
> public static void main(String[] args) {
> WeldContainer weld = new Weld().initialize();
> weld.instance().select(MyApplicationBean.class).get();
> weld.shutdown();
> }
> versus
> http://www.jarvana.com/jarvana/view/org/jboss/weld/weld-se/1.0.1-Final/weld-se-1.0.1-Final-javadoc.jar!/org/jboss/weld/environment/se/WeldContainer.html
> From which I conclude that the example's call to shutdown() is wrong.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list