Class UnsupportedTransactionManager

  • All Implemented Interfaces:
    org.seasar.doma.jdbc.tx.TransactionManager

    @Singleton
    public class UnsupportedTransactionManager
    extends Object
    implements org.seasar.doma.jdbc.tx.TransactionManager
    • Constructor Detail

      • UnsupportedTransactionManager

        public UnsupportedTransactionManager()
    • Method Detail

      • required

        public void required​(Runnable block)
        Specified by:
        required in interface org.seasar.doma.jdbc.tx.TransactionManager
      • required

        public void required​(org.seasar.doma.jdbc.tx.TransactionIsolationLevel isolationLevel,
                             Runnable block)
        Specified by:
        required in interface org.seasar.doma.jdbc.tx.TransactionManager
      • required

        public <RESULT> RESULT required​(Supplier<RESULT> supplier)
        Specified by:
        required in interface org.seasar.doma.jdbc.tx.TransactionManager
      • required

        public <RESULT> RESULT required​(org.seasar.doma.jdbc.tx.TransactionIsolationLevel isolationLevel,
                                        Supplier<RESULT> supplier)
        Specified by:
        required in interface org.seasar.doma.jdbc.tx.TransactionManager
      • requiresNew

        public void requiresNew​(Runnable block)
        Specified by:
        requiresNew in interface org.seasar.doma.jdbc.tx.TransactionManager
      • requiresNew

        public void requiresNew​(org.seasar.doma.jdbc.tx.TransactionIsolationLevel isolationLevel,
                                Runnable block)
        Specified by:
        requiresNew in interface org.seasar.doma.jdbc.tx.TransactionManager
      • requiresNew

        public <RESULT> RESULT requiresNew​(Supplier<RESULT> supplier)
        Specified by:
        requiresNew in interface org.seasar.doma.jdbc.tx.TransactionManager
      • requiresNew

        public <RESULT> RESULT requiresNew​(org.seasar.doma.jdbc.tx.TransactionIsolationLevel isolationLevel,
                                           Supplier<RESULT> supplier)
        Specified by:
        requiresNew in interface org.seasar.doma.jdbc.tx.TransactionManager
      • notSupported

        public void notSupported​(Runnable block)
        Specified by:
        notSupported in interface org.seasar.doma.jdbc.tx.TransactionManager
      • notSupported

        public void notSupported​(org.seasar.doma.jdbc.tx.TransactionIsolationLevel isolationLevel,
                                 Runnable block)
        Specified by:
        notSupported in interface org.seasar.doma.jdbc.tx.TransactionManager
      • notSupported

        public <RESULT> RESULT notSupported​(Supplier<RESULT> supplier)
        Specified by:
        notSupported in interface org.seasar.doma.jdbc.tx.TransactionManager
      • notSupported

        public <RESULT> RESULT notSupported​(org.seasar.doma.jdbc.tx.TransactionIsolationLevel isolationLevel,
                                            Supplier<RESULT> supplier)
        Specified by:
        notSupported in interface org.seasar.doma.jdbc.tx.TransactionManager
      • setRollbackOnly

        public void setRollbackOnly()
        Specified by:
        setRollbackOnly in interface org.seasar.doma.jdbc.tx.TransactionManager
      • isRollbackOnly

        public boolean isRollbackOnly()
        Specified by:
        isRollbackOnly in interface org.seasar.doma.jdbc.tx.TransactionManager
      • setSavepoint

        public void setSavepoint​(String savepointName)
        Specified by:
        setSavepoint in interface org.seasar.doma.jdbc.tx.TransactionManager
      • hasSavepoint

        public boolean hasSavepoint​(String savepointName)
        Specified by:
        hasSavepoint in interface org.seasar.doma.jdbc.tx.TransactionManager
      • releaseSavepoint

        public void releaseSavepoint​(String savepointName)
        Specified by:
        releaseSavepoint in interface org.seasar.doma.jdbc.tx.TransactionManager
      • rollback

        public void rollback​(String savepointName)
        Specified by:
        rollback in interface org.seasar.doma.jdbc.tx.TransactionManager