[webbeans-issues] [JBoss JIRA] Created: (WBRI-220) Manual Shutdown i nSE by Configuration
Peter Royle (JIRA)
jira-events at lists.jboss.org
Sun Apr 5 02:33:22 EDT 2009
Manual Shutdown i nSE 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