Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4283

Expose DistributedExecutorService per cache to deployments

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 9.0.0.Alpha1
    • Clustering
    • None

      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:

      @Resource(lookup = "java:jboss/infinispan/executor/server/default")
      private DistributedExecutorService executor;
      

      or

      @Resource(lookup = "java:jboss/infinispan/executor/server/default")
      private ExecutorService executor;
      

      the latter does not require the user to export any modules to their deployment.

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: