Package com.atomikos.icatch.config

Examples of com.atomikos.icatch.config.UserTransactionServiceImp


            // );

            // NEW FROM 2.0: if TM is not running, just start it. Any resources
            // can be registered later.
            if ( txmgr_ == null ) {
                UserTransactionService uts = new UserTransactionServiceImp ();
                TSInitInfo info = uts.createTSInitInfo ();
                uts.registerLogAdministrator ( SimpleLogAdministrator
                        .getInstance () );
                uts.init ( info );
                txmgr_ = TransactionManagerImp.getTransactionManager ();
            }

        }
View Full Code Here


    private void checkSetup ()
    {
        synchronized ( TransactionManagerImp.class ) {
            txmgr_ = TransactionManagerImp.getTransactionManager ();
            if ( txmgr_ == null ) {
                UserTransactionService uts = new UserTransactionServiceImp ();
                TSInitInfo info = uts.createTSInitInfo ();
                uts.registerLogAdministrator ( SimpleLogAdministrator
                        .getInstance () );
                uts.init ( info );
                txmgr_ = TransactionManagerImp.getTransactionManager ();
            }
        }
    }
View Full Code Here

        }
      }
    }

  private void startupTransactionService() {
    uts = new UserTransactionServiceImp ();
    uts.init();
    tm = (TransactionManagerImp) TransactionManagerImp
            .getTransactionManager ();
  }
View Full Code Here

                    .getTransactionManager ();
            if ( tm == null ) {
                // not initialized -> startup TM
                // System.out.println ( "STARTING UP TM!!!!!!");
                 if ( getStartupTransactionService() ) {
                  uts = new UserTransactionServiceImp ();
                  TSInitInfo info = uts.createTSInitInfo ();
                  uts.init ( info );
                  tm = (TransactionManagerImp) TransactionManagerImp
                          .getTransactionManager ();
                 }
View Full Code Here

            // );

            // NEW FROM 2.0: if TM is not running, just start it. Any resources
            // can be registered later.
            if ( txmgr_ == null ) {
                UserTransactionService uts = new UserTransactionServiceImp ();
                TSInitInfo info = uts.createTSInitInfo ();
                uts.registerLogAdministrator ( SimpleLogAdministrator
                        .getInstance () );
                uts.init ( info );
                txmgr_ = TransactionManagerImp.getTransactionManager ();
            }

        }
View Full Code Here

            // );

            // NEW FROM 2.0: if TM is not running, just start it. Any resources
            // can be registered later.
            if ( txmgr_ == null ) {
                UserTransactionService uts = new UserTransactionServiceImp ();
                TSInitInfo info = uts.createTSInitInfo ();
                uts.registerLogAdministrator ( SimpleLogAdministrator
                        .getInstance () );
                uts.init ( info );
                txmgr_ = TransactionManagerImp.getTransactionManager ();
            }

        }
View Full Code Here

                    .getTransactionManager ();
            if ( tm == null ) {
                // not initialized -> startup TM
                // System.out.println ( "STARTING UP TM!!!!!!");
                 if ( getStartupTransactionService() ) {
                  uts = new UserTransactionServiceImp ();
                  TSInitInfo info = uts.createTSInitInfo ();
                  uts.init ( info );
                  tm = (TransactionManagerImp) TransactionManagerImp
                          .getTransactionManager ();
                 }
View Full Code Here

      properties.setProperty("com.atomikos.icatch.tm_unique_name",
          this.jtaProperties.getTransactionManagerId());
    }
    properties.setProperty("com.atomikos.icatch.log_base_dir", getLogBaseDir());
    properties.putAll(atomikosProperties.asProperties());
    return new UserTransactionServiceImp(properties);
  }
View Full Code Here

TOP

Related Classes of com.atomikos.icatch.config.UserTransactionServiceImp

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.