Examples of TMInformation


Examples of jifx.transactionManager.transaction.TMInformation

      logger.error("| No se pudo obtener el nombre del transaction manager!!!! "+names+"|");
      return;
    }
    try {
        if (configuration != null){
          TMInformation transactionManagerInformation = new TMInformation(trmName);
          transactionManagerInformation.make(configuration);
          TransactionManager tm =  new TransactionManager(jndi, transactionManagerInformation, this);
          new Thread(tm).start();
   
          AttributeChangeNotificationFilter nf = new AttributeChangeNotificationFilter();
          nf.enableAttribute("TMState");
          this.addNotificationListener((NotificationListener) tm, nf, this);
   
          logger.info(transactionManagerInformation.getIdtrn()+"|Configurado e iniciado.|");
        }
    } catch (ConfigurationException e) {
      logger.error(trmName+"|Error de configuraci�n: "+e.getMessage()+"|");
    }   
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.