[webbeans-issues] [JBoss JIRA] Moved: (WBX-19) Manual Shutdown in SE by Configuration

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Apr 5 07:03:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/WBX-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir moved WBRI-220 to WBX-19:
-----------------------------------

    Project: Web Beans Extensions  (was: Web Beans)
        Key: WBX-19  (was: WBRI-220)


> Manual Shutdown in SE by Configuration
> --------------------------------------
>
>                 Key: WBX-19
>                 URL: https://jira.jboss.org/jira/browse/WBX-19
>             Project: Web Beans Extensions
>          Issue Type: Feature Request
>         Environment: Java SE, w/o EJB
>            Reporter: Peter Royle
>            Priority: Minor
>
> The developer could set a configuration variable to let WebBeans know that they will be taking responsibility for initiating the shutdown sequence when it makes sense for their app, and hence WebBeans needn't do any automatic shutdown sequence. This could be done programatically: 
> public void (@Observes Deployed Manager manager, @Parameters List<String> params, @Current Configuration config) {
>    config.setManualShutdown(true);
>    System.out.println("You provided " + params.size() + " parameters. Well done.");
> }
> Alternatively this could be done by setting a property in beans.xml or beans.properties. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list