[
https://jira.jboss.org/browse/WELD-593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pete Muir closed WELD-593.
--------------------------
Labels: se shutdown sonfiguration (was: se shutdown sonfiguration)
Assignee: Pete Muir
Resolution: Out of Date
ShutdownManager was added a long time ago
> Manual Shutdown in SE by Configuration
> --------------------------------------
>
> Key: WELD-593
> URL: https://jira.jboss.org/browse/WELD-593
> Project: Weld
> Issue Type: Feature Request
> Environment: Java SE, w/o EJB
> Reporter: Peter Royle
> Assignee: Pete Muir
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues