Interface TransactionManagerFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns the short alias for this factory instance.
      javax.transaction.TransactionManager getTransactionManager​(java.util.Properties properties)
      Acquires the appropriate javax.transaction.TransactionManager with the given properties.
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the short alias for this factory instance.
        Returns:
        The short alias name.
      • getTransactionManager

        javax.transaction.TransactionManager getTransactionManager​(java.util.Properties properties)
                                                            throws TransactionManagerAcquireException
        Acquires the appropriate javax.transaction.TransactionManager with the given properties.
        Parameters:
        properties - The properties passed to the transaction manager.
        Returns:
        The transaction manager.
        Throws:
        TransactionManagerAcquireException - If any failure occured when loading the transaction manager.