Examples of TransactionSupport


Examples of org.apache.geronimo.connector.outbound.connectionmanagerconfig.TransactionSupport

        __log.debug("Creating connection pool for " + url + " with driver " + driverClass);
        if (!(_txm instanceof RecoverableTransactionManager)) {
          throw new RuntimeException("TransactionManager is not recoverable.");
        }

        TransactionSupport transactionSupport = LocalTransactions.INSTANCE;
        ConnectionTracker connectionTracker = new ConnectionTrackingCoordinator();

        PoolingSupport poolingSupport = new SinglePool(
                _odeConfig.getPoolMaxSize(),
                _odeConfig.getPoolMinSize(),
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.connectionmanagerconfig.TransactionSupport

        __log.debug("Creating connection pool for " + url + " with driver " + driverClass);
        if (!(_txm instanceof RecoverableTransactionManager)) {
          throw new RuntimeException("TransactionManager is not recoverable.");
        }

        TransactionSupport transactionSupport = LocalTransactions.INSTANCE;
        ConnectionTracker connectionTracker = new ConnectionTrackingCoordinator();

        PoolingSupport poolingSupport = new SinglePool(
                _odeConfig.getPoolMaxSize(),
                _odeConfig.getPoolMinSize(),
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.connectionmanagerconfig.TransactionSupport

        }
        GBeanData connectionManagerGBean = new GBeanData(connectionManagerAbstractName, gbeanInfo);

        //we configure our connection manager
        GerConnectionmanagerType connectionManager = connectionfactoryInstance.getConnectionmanager();
        TransactionSupport transactionSupport;
        if (connectionManager.isSetNoTransaction()) {
            transactionSupport = NoTransactions.INSTANCE;
        } else if (connectionManager.isSetLocalTransaction()) {
            if ("NoTransaction".equals(ddTransactionSupport)) {
                throw new DeploymentException("You are requesting local transaction support for a connector that does not support transactions: named: " + connectionfactoryInstance.getName().trim());
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.connectionmanagerconfig.TransactionSupport

        }
        GBeanData connectionManagerGBean = new GBeanData(connectionManagerObjectName, gbeanInfo);

        //we configure our connection manager
        GerConnectionmanagerType connectionManager = connectionfactoryInstance.getConnectionmanager();
        TransactionSupport transactionSupport = null;
        if (connectionManager.isSetNoTransaction()) {
            transactionSupport = NoTransactions.INSTANCE;
        } else if (connectionManager.isSetLocalTransaction()) {
            transactionSupport = LocalTransactions.INSTANCE;
        } else if (connectionManager.isSetTransactionLog()) {
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.connectionmanagerconfig.TransactionSupport

        ClassLoader classLoader = this.classLoader;
        if (classLoader == null) Thread.currentThread().getContextClassLoader();
        if (classLoader == null) classLoader = getClass().getClassLoader();
        if (classLoader == null) classLoader = ClassLoader.getSystemClassLoader();

        TransactionSupport txSupport = createTransactionSupport();

        RecoverableTransactionManager tm;
        if (transactionManager instanceof RecoverableTransactionManager) {
            tm = (RecoverableTransactionManager) transactionManager;
        } else {
            if (txSupport.isRecoverable()) {
                throw new OpenEJBRuntimeException("currently recoverable tx support (xa) needs a geronimo tx manager");
            }
            tm = new SimpleRecoverableTransactionManager(transactionManager);
        }
        return new GenericConnectionManager(txSupport, poolingSupport,
View Full Code Here

Examples of org.jboss.jca.as.converters.wls.api.metadata.TransactionSupport

      PoolParams poolParams = newCdProps.getPoolParams() == null ?
            oldCdProps.getPoolParams() : newCdProps.getPoolParams();
      ConfigProperties props = newCdProps.getProperties() == null ?
            oldCdProps.getProperties() : newCdProps.getProperties();
     
      TransactionSupport trans = oldCdProps.getTransactionSupport();
      if (newCdProps.getTransactionSupport() != null &&
            newCdProps.getTransactionSupport() != TransactionSupport.NotDefined)
      {
         trans = newCdProps.getTransactionSupport();
      }
View Full Code Here

Examples of org.jboss.jca.as.converters.wls.api.metadata.TransactionSupport

   private ConnectionDefinitionProperties parseConnectionDefinitionProperties(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      PoolParams poolParams = null;
      Logging logging = null;
      TransactionSupport trans = null;
      String authMech = null;
      Boolean reAuthSupport = null;
      ConfigProperties props = null;
      String resAuth = null;
     
View Full Code Here

Examples of org.jboss.jca.as.converters.wls.api.metadata.TransactionSupport

   private ConnectionDefinitionProperties parseConnectionDefinitionProperties(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      PoolParams poolParams = null;
      Logging logging = null;
      TransactionSupport trans = null;
      String authMech = null;
      Boolean reAuthSupport = null;
      ConfigProperties props = null;
      String resAuth = null;
     
View Full Code Here

Examples of org.jboss.jca.as.converters.wls.api.metadata.TransactionSupport

      PoolParams poolParams = newCdProps.getPoolParams() == null ?
            oldCdProps.getPoolParams() : newCdProps.getPoolParams();
      ConfigProperties props = newCdProps.getProperties() == null ?
            oldCdProps.getProperties() : newCdProps.getProperties();
     
      TransactionSupport trans = oldCdProps.getTransactionSupport();
      if (newCdProps.getTransactionSupport() != null &&
            newCdProps.getTransactionSupport() != TransactionSupport.NotDefined)
      {
         trans = newCdProps.getTransactionSupport();
      }
View Full Code Here

Examples of org.jboss.jca.as.converters.wls.api.metadata.TransactionSupport

   private ConnectionDefinitionProperties parseConnectionDefinitionProperties(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      PoolParams poolParams = null;
      Logging logging = null;
      TransactionSupport trans = null;
      String authMech = null;
      Boolean reAuthSupport = null;
      ConfigProperties props = null;
      String resAuth = null;
     
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.