Class ContextServiceImpl

java.lang.Object
org.glassfish.enterprise.concurrent.ContextServiceImpl
org.jboss.as.ee.concurrent.ContextServiceImpl
All Implemented Interfaces:
jakarta.enterprise.concurrent.ContextService, Serializable, WildFlyContextService

public class ContextServiceImpl extends org.glassfish.enterprise.concurrent.ContextServiceImpl implements WildFlyContextService
An extension of Jakarta EE RI ContextServiceImpl, which properly supports a security manager.
Author:
Eduardo Martins
See Also:
  • Field Summary

    Fields inherited from class org.glassfish.enterprise.concurrent.ContextServiceImpl

    contextSetupProvider, name, transactionSetupProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
    ContextServiceImpl(String name, ContextServiceTypesConfiguration contextServiceTypesConfiguration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createContextualProxy(Object instance, Map<String,String> executionProperties, Class<?>... interfaces)
     
    <T> T
    createContextualProxy(T instance, Map<String,String> executionProperties, Class<T> intf)
     
     

    Methods inherited from class org.glassfish.enterprise.concurrent.ContextServiceImpl

    contextualCallable, contextualConsumer, contextualConsumer, contextualFunction, contextualFunction, contextualRunnable, contextualSupplier, createContextualProxy, createContextualProxy, currentContextExecutor, getContextSetupProvider, getExecutionProperties, getName, getTransactionSetupProvider, verifyHandler, verifyStringValue, withContextCapture, withContextCapture

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.enterprise.concurrent.ContextService

    contextualCallable, contextualConsumer, contextualConsumer, contextualFunction, contextualFunction, contextualRunnable, contextualSupplier, createContextualProxy, createContextualProxy, currentContextExecutor, getExecutionProperties, withContextCapture, withContextCapture
  • Constructor Details

  • Method Details

    • createContextualProxy

      public <T> T createContextualProxy(T instance, Map<String,String> executionProperties, Class<T> intf)
      Specified by:
      createContextualProxy in interface jakarta.enterprise.concurrent.ContextService
      Overrides:
      createContextualProxy in class org.glassfish.enterprise.concurrent.ContextServiceImpl
    • createContextualProxy

      public Object createContextualProxy(Object instance, Map<String,String> executionProperties, Class<?>... interfaces)
      Specified by:
      createContextualProxy in interface jakarta.enterprise.concurrent.ContextService
      Overrides:
      createContextualProxy in class org.glassfish.enterprise.concurrent.ContextServiceImpl
    • getContextServiceTypesConfiguration

      public ContextServiceTypesConfiguration getContextServiceTypesConfiguration()
      Specified by:
      getContextServiceTypesConfiguration in interface WildFlyContextService