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

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


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

Pete Muir updated WBX-19:
-------------------------

    Component/s: Java SE
        Affects: [Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial, Compatibility/Configuration]  (was: [Compatibility/Configuration, Interactive Demo/Tutorial, Documentation (Ref Guide, User Guide, etc.)])


> 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
>          Components: Java SE
>         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