Skip to content

Commit

Permalink
Inject the context service to make it available in the JNDI context.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzo1 committed Jan 24, 2024
1 parent ab0f183 commit b114b62
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/
package org.apache.openejb.threads;

import jakarta.enterprise.concurrent.ContextService;
import org.apache.openejb.threads.impl.ManagedExecutorServiceImpl;
import org.apache.openejb.threads.impl.ManagedScheduledExecutorServiceImpl;
import org.apache.openejb.threads.impl.ManagedThreadFactoryImpl;
Expand Down Expand Up @@ -79,6 +80,9 @@ public EnterpriseBean bean() {
@Resource(name = "concurrent/tf")
private ManagedThreadFactory tf;

@Resource
private ContextService ces;

@EJB
private CustomCUBean bean;

Expand Down

0 comments on commit b114b62

Please sign in to comment.