[
https://issues.jboss.org/browse/WFLY-4283?page=com.atlassian.jira.plugin....
]
Paul Ferraro updated WFLY-4283:
-------------------------------
Description:
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.
was:
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}
Expose DistributedExecutorService per cache to deployments
----------------------------------------------------------
Key: WFLY-4283
URL:
https://issues.jboss.org/browse/WFLY-4283
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)