Examples of UserTransactionImpl


Examples of org.jboss.ejb3.tx.UserTransactionImpl

      try
      {
         Thread.currentThread().setContextClassLoader(classloader);
         try
         {
            Util.rebind(getEnc(), "UserTransaction", new UserTransactionImpl());
         }
         catch (NamingException e)
         {
            NamingException namingException = new NamingException("Could not bind user transaction for ejb name " + ejbName + " into JNDI under jndiName: " + getEnc().getNameInNamespace() + "/" + "UserTransaction");
            namingException.setRootCause(e);
View Full Code Here

Examples of org.jboss.ejb3.tx.UserTransactionImpl

   public UserTransaction getUserTransaction() throws IllegalStateException
   {
      TransactionManagementType type = TxUtil.getTransactionManagementType(((Advisor) getContainer()));
      if (type != TransactionManagementType.BEAN) throw new IllegalStateException("Container " + getContainer().getEjbName() + ": it is illegal to inject UserTransaction into a CMT bean");

      return new UserTransactionImpl();
   }
View Full Code Here

Examples of org.neo4j.kernel.impl.transaction.UserTransactionImpl

    return neo4jDb().getDependencyResolver().resolveDependency( TxManager.class );
  }

  @Override
  protected UserTransaction locateUserTransaction() {
    return new UserTransactionImpl( neo4jDb() );
  }
View Full Code Here

Examples of org.neo4j.kernel.impl.transaction.UserTransactionImpl

    return neo4jDb().getTxManager();
  }

  @Override
  protected UserTransaction locateUserTransaction() {
    return new UserTransactionImpl( neo4jDb() );
  }
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.