[jboss-jira] [JBoss JIRA] (WFLY-4348) Expose ManagedExecutorService per channel to deployments
Paul Ferraro (JIRA)
issues at jboss.org
Sat Feb 14 10:49:49 EST 2015
Paul Ferraro created WFLY-4348:
----------------------------------
Summary: Expose ManagedExecutorService per channel to deployments
Key: WFLY-4348
URL: https://issues.jboss.org/browse/WFLY-4348
Project: WildFly
Issue Type: Feature Request
Components: Clustering
Affects Versions: 9.0.0.Alpha1
Reporter: Paul Ferraro
Assignee: Paul Ferraro
The general idea is to automatically install a service per cache that exposes a DistributedExecutorService and expose it to users via jndi. Usage should be as simple as:
{code}
@Resource(lookup = "java:jboss/infinispan/executor/server/default")
private DistributedExecutorService executor;
{code}
or
{code}
@Resource(lookup = "java:jboss/infinispan/executor/server/default")
private ExecutorService executor;
{code}
the latter does not require the user to export any modules to their deployment.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list