Class TransactionServicesImpl

  • All Implemented Interfaces:
    org.jboss.weld.bootstrap.api.Service, org.jboss.weld.transaction.spi.TransactionServices

    public class TransactionServicesImpl
    extends Object
    implements org.jboss.weld.transaction.spi.TransactionServices
    Implements the services related to transactional behaviour used in JSR-299, if that behaviour is going to be used.
    • Constructor Detail

      • TransactionServicesImpl

        public TransactionServicesImpl​(org.glassfish.hk2.api.ServiceLocator services)
    • Method Detail

      • isTransactionActive

        public boolean isTransactionActive()
        Specified by:
        isTransactionActive in interface org.jboss.weld.transaction.spi.TransactionServices
      • registerSynchronization

        public void registerSynchronization​(jakarta.transaction.Synchronization observer)
        Specified by:
        registerSynchronization in interface org.jboss.weld.transaction.spi.TransactionServices
      • getUserTransaction

        public jakarta.transaction.UserTransaction getUserTransaction()
        Specified by:
        getUserTransaction in interface org.jboss.weld.transaction.spi.TransactionServices
      • cleanup

        public void cleanup()
        Specified by:
        cleanup in interface org.jboss.weld.bootstrap.api.Service