[jboss-jira] [JBoss JIRA] (WFLY-4348) Expose ManagedExecutorService per channel to deployments

Paul Ferraro (JIRA) issues at jboss.org
Sat Feb 14 10:50:49 EST 2015


     [ https://issues.jboss.org/browse/WFLY-4348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ferraro updated WFLY-4348:
-------------------------------
    Description: 
The general idea is to automatically install a service per channel that exposes a ManagedExecutorService and expose it to users via jndi.  Usage should be as simple as:

{code}
@Resource(lookup = "java:jboss/infinispan/executor/default")
private ManagedExecutorService executor;
{code}


  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}

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.



> 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 channel that exposes a ManagedExecutorService and expose it to users via jndi.  Usage should be as simple as:
> {code}
> @Resource(lookup = "java:jboss/infinispan/executor/default")
> private ManagedExecutorService executor;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list