Package org.apache.isis.core.runtime.system.transaction

Examples of org.apache.isis.core.runtime.system.transaction.IsisTransactionManagerException


            try {
                serviceInitializer.postConstruct();
               
                return serviceInitializer;
            } catch(RuntimeException ex) {
                IsisContext.getTransactionManager().getTransaction().setAbortCause(new IsisTransactionManagerException(ex));
                return serviceInitializer;
            } finally {
                // will commit or abort
                IsisContext.getTransactionManager().endTransaction();
            }
View Full Code Here


            IsisContext.getTransactionManager().startTransaction();
            try {
                serviceInitializer.preDestroy();
               
            } catch(RuntimeException ex) {
                IsisContext.getTransactionManager().getTransaction().setAbortCause(new IsisTransactionManagerException(ex));
            } finally {
                // will commit or abort
                IsisContext.getTransactionManager().endTransaction();
            }
        } finally {
View Full Code Here

            try {
                serviceInitializer.postConstruct();
               
                return serviceInitializer;
            } catch(RuntimeException ex) {
                getTransactionManager().getTransaction().setAbortCause(new IsisTransactionManagerException(ex));
                return serviceInitializer;
            } finally {
                // will commit or abort
                getTransactionManager().endTransaction();
            }
View Full Code Here

            getTransactionManager().startTransaction();
            try {
                serviceInitializer.preDestroy();
               
            } catch(RuntimeException ex) {
                getTransactionManager().getTransaction().setAbortCause(new IsisTransactionManagerException(ex));
            } finally {
                // will commit or abort
                getTransactionManager().endTransaction();
            }
        } finally {
View Full Code Here

TOP

Related Classes of org.apache.isis.core.runtime.system.transaction.IsisTransactionManagerException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.