Brian Stansberry resolved Task AS7-4934 as Done

The server now provides access to a shared thread pool for use in blocking tasks. Services can inject it via:

FooService service = new FooService();
ServiceBuilder<Foo> builder = serviceTarget.addService(FOO_SERVICE_NAME, service);

// Depend on and inject the shared thread pool
boolean optionalDependency = false;
org.jboss.as.server.Services.addServerExecutorDependency(builder, service.getExecutorInjector(), optionalDependency);

build.install();

Change By: Brian Stansberry (13/Jun/12 2:32 PM)
Status: Open Resolved
Resolution: Done
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira