Mauro Talevi created JBEHAVE-757:
------------------------------------
Summary: Allow non-programmatic configuration of ExecutorService
Key: JBEHAVE-757
URL: https://jira.codehaus.org/browse/JBEHAVE-757
Project: JBehave
Issue Type: Improvement
Affects Versions: 3.6
Reporter: Mauro Talevi
Assignee: Mauro Talevi
Priority: Minor
Fix For: 3.6.1
Currently the ExecutorService can be specified programmatically via the
Embedder.
To allow a non-programmatic configuration, we can introduce an interface
{code}
public interface ExecutorServiceFactory {
ExecutorService create(Map<String,Object> parameters);
}
{code}
and provide multiple implementations, e.g. FixedThreadExecutors and
SameThreadExecutors.
The implementation class must support a default constructor so it can be
instantiated from its class name, configured via Maven or Ant.
Each implementation may require different parameters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email