Class TransactionLifecycleService

  • All Implemented Interfaces:
    org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy

    @Service
    @RunLevel(10)
    public class TransactionLifecycleService
    extends Object
    implements org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy
    Service wrapper to only lookup the transaction recovery when there are applications deployed since the actual service has ORB dependency. This is also responsible for binding (non java:comp) UserTransaction in naming tree.
    • Constructor Detail

      • TransactionLifecycleService

        public TransactionLifecycleService()
    • Method Detail

      • postConstruct

        public void postConstruct()
        Specified by:
        postConstruct in interface org.glassfish.hk2.api.PostConstruct
      • preDestroy

        public void preDestroy()
        Specified by:
        preDestroy in interface org.glassfish.hk2.api.PreDestroy
      • onReady

        public void onReady()
      • onShutdown

        public void onShutdown()