Package com.atomikos.datasource.xa

Examples of com.atomikos.datasource.xa.TemporaryXATransactionalResource


                synchronized ( Configuration.class ) {
                  // synchronized to avoid case 61740
                                  
          // ADDED with new recovery: unknown resources can be tolerated
          // by adding a new TemporaryXATransactionalResource
                  res = new TemporaryXATransactionalResource(xares);
                 
                  // cf case 61740: check for concurrent additions before this synch block was entered
                  if ( Configuration.getResource ( res.getName() ) == null ) {
                    printMsg("constructing new temporary resource "
              + "for unknown XAResource: " + xares, Console.DEBUG);
View Full Code Here


        if ( ret == null && autoRegistration_ ) {

            synchronized ( Configuration.class ) {
              // synchronized to avoid case 61740
             
              ret = new TemporaryXATransactionalResource(xares);
              // cf case 61740: check for concurrent additions before this synch block was entered
              if ( Configuration.getResource ( ret.getName() ) == null ) {
                if(LOGGER.isDebugEnabled()){
                  LOGGER.logDebug("constructing new temporary resource "
                    + "for unknown XAResource: " + xares);
View Full Code Here

        if ( ret == null && autoRegistration_ ) {

            synchronized ( Configuration.class ) {
              // synchronized to avoid case 61740

              ret = new TemporaryXATransactionalResource(xares);
              // cf case 61740: check for concurrent additions before this synch block was entered
              if ( Configuration.getResource ( ret.getName() ) == null ) {
                if(LOGGER.isDebugEnabled()){
                  LOGGER.logDebug("constructing new temporary resource "
                    + "for unknown XAResource: " + xares);
View Full Code Here

                synchronized ( Configuration.class ) {
                  // synchronized to avoid case 61740
                                  
          // ADDED with new recovery: unknown resources can be tolerated
          // by adding a new TemporaryXATransactionalResource
                  res = new TemporaryXATransactionalResource(xares);
                 
                  // cf case 61740: check for concurrent additions before this synch block was entered
                  if ( Configuration.getResource ( res.getName() ) == null ) {
                    printMsg("constructing new temporary resource "
              + "for unknown XAResource: " + xares, Console.DEBUG);
View Full Code Here

TOP

Related Classes of com.atomikos.datasource.xa.TemporaryXATransactionalResource

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.