Class ServiceTransactionSetupProvider

  • All Implemented Interfaces:
    Serializable, org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider

    public class ServiceTransactionSetupProvider
    extends Object
    implements org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider
    A wrapper for a TransactionSetupProvider stored in a service, allowing deserialization through MSC.
    Author:
    emmartins
    See Also:
    Serialized Form
    • Constructor Detail

      • ServiceTransactionSetupProvider

        public ServiceTransactionSetupProvider​(org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider transactionSetupProvider,
                                               org.jboss.msc.service.ServiceName serviceName)
        Parameters:
        transactionSetupProvider - the provider to wrap
        serviceName - the name of the service where the provider may be retrieved
    • Method Detail

      • beforeProxyMethod

        public org.glassfish.enterprise.concurrent.spi.TransactionHandle beforeProxyMethod​(String transactionExecutionProperty)
        Specified by:
        beforeProxyMethod in interface org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider
      • afterProxyMethod

        public void afterProxyMethod​(org.glassfish.enterprise.concurrent.spi.TransactionHandle handle,
                                     String transactionExecutionProperty)
        Specified by:
        afterProxyMethod in interface org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider