Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.transaction
Interface ServerTransactionManager

All Superinterfaces:
ClientTransactionManager, TransactionManager

public interface ServerTransactionManager
extends TransactionManager

ServerTransactionManager enables the caller to get the TransactionLogger object associated with this server.


Field Summary

 

Fields inherited from interface weblogic.transaction.TransactionManager
ASYNC_TIMEOUT_DELIST, CALL_SET_DELIST_TMSUCCESS_ALWAYS, CALL_SET_DELIST_TMSUCCESS_INSTEAD_OF_TMSUSPEND, CALL_SET_TRANSACTION_TIMEOUT, ENLISTMENT_DYNAMIC, ENLISTMENT_STANDARD, ENLISTMENT_STATIC, ENLISTMENT_TYPE, FIRST_RESOURCE_COMMIT, FIRST_RESOURCE_COMMIT_SERVER, INTERLEAVING_ENLISTMENTS, LOCAL_ASSIGNMENT_OF_REMOTE_RESOURCES, RECOVER_RETRY_DURATION_SECONDS, RECOVER_RETRY_INTERVAL_SECONDS, RESOURCE_DATASOURCE, RESOURCE_JCA, RESOURCE_JMS, RESOURCE_OTHER, RESOURCE_TYPE, THREAD_AFFINITY

 

Method Summary
abstract  Object getJTATransactionForThread(Thread thread)
          Returns a JTATransaction information object for the transaction context associated with the specified thread.
abstract  TransactionLogger getTransactionLogger()
          Obtains the TransactionLogger object managing this server's transaction log.
abstract  void registerBeginNotificationListener(BeginNotificationListener listener, Object handback)
          Registers a BeginNotificationListener object with the transaction manager.
abstract  void unregisterBeginNotificationListener(BeginNotificationListener listener)
          Unregisters the specified BeginNotificationListener object.

 

Methods inherited from interface weblogic.transaction.TransactionManager
begin, begin, begin, begin, getTransaction, registerDynamicResource, registerDynamicResource, registerDynamicResource, registerResource, registerResource, registerResource, registerResource, registerStaticResource, registerStaticResource, setResourceHealthy, unregisterResource, unregisterResource

 

Methods inherited from interface weblogic.transaction.ClientTransactionManager
forceResume, forceSuspend

 

Methods inherited from interface javax.transaction.TransactionManager
begin, commit, getStatus, getTransaction, resume, rollback, setRollbackOnly, setTransactionTimeout, suspend

 

Method Detail

getTransactionLogger

TransactionLogger getTransactionLogger()
Obtains the TransactionLogger object managing this server's transaction log.
Returns:
the TransactionLogger object implemented by the WLS Transaction Manager, or null if none available.

getJTATransactionForThread

Object getJTATransactionForThread(Thread thread)
Returns a JTATransaction information object for the transaction context associated with the specified thread. If there is no transaction context associated with the thread, a null value will be returned.

registerBeginNotificationListener

void registerBeginNotificationListener(BeginNotificationListener listener,
                                       Object handback)
Registers a BeginNotificationListener object with the transaction manager. The object will be invoked prior to the start of server-side transactions.

unregisterBeginNotificationListener

void unregisterBeginNotificationListener(BeginNotificationListener listener)
Unregisters the specified BeginNotificationListener object.

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09