Class TransactionLifecycleService
- java.lang.Object
-
- com.sun.enterprise.transaction.startup.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 Summary
Constructors Constructor Description TransactionLifecycleService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onReady()
void
onShutdown()
void
postConstruct()
void
preDestroy()
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
preDestroy
public void preDestroy()
- Specified by:
preDestroy
in interfaceorg.glassfish.hk2.api.PreDestroy
-
onReady
public void onReady()
-
onShutdown
public void onShutdown()
-
-