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

Peter Royle (JIRA) jira-events at lists.jboss.org
Sun Apr 5 02:33:22 EDT 2009


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

Peter Royle updated WBRI-220:
-----------------------------

    Summary: Manual Shutdown in SE by Configuration  (was: Manual Shutdown i nSE by Configuration)
    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: WBRI-220
>                 URL: https://jira.jboss.org/jira/browse/WBRI-220
>             Project: Web Beans
>          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