Package org.jboss.test.messaging.tools.container

Examples of org.jboss.test.messaging.tools.container.ServiceContainer


      ResourceManagerFactory.instance.clear();

      // Also need a local tx mgr if test is running remote
      if (ServerManagement.isRemote())
      {
         sc = new ServiceContainer("transaction");

         // Don't drop the tables again!
         sc.start(false);
      }
View Full Code Here


        setUpAdministeredObjects();
       
        //We need a local transaction and recovery manager
         //We must start this after the remote servers have been created or it won't
         //have deleted the database and the recovery manager may attempt to recover transactions
         sc = new ServiceContainer("transaction");  
        
         sc.start(false);  
       
        firstTime = false;
      }         
View Full Code Here

         setUpAdministeredObjects();
        
         //We need a local transaction and recovery manager
         //We must start this after the remote servers have been created or it won't
         //have deleted the database and the recovery manager may attempt to recover transactions
         sc = new ServiceContainer("transaction");  
        
         sc.start(false);  
        
         Properties props1 = new Properties();
         props1.putAll(ServerManagement.getJNDIEnvironment(0));
View Full Code Here

   {
      nodeCount = 2;

      super.setUp();

      sc = new ServiceContainer("transaction");
     
      //Don't drop the tables again!
      sc.start(false);
  
      InitialContext localIc = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment());
View Full Code Here

   public void setUp() throws Exception
   {
      super.setUp();

      sc = new ServiceContainer("all,-remoting,-security");
      sc.start();

      pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                                      sc.getPersistenceManagerSQLProperties(),
                                      true, true, true, false, 100, !sc.getDatabaseName().equals("oracle") && !sc.getDatabaseName().equals("db2"),
View Full Code Here

    // We need a local transaction and recovery manager
    // We must start this after the remote servers have been created or it
    // won't
    // have deleted the database and the recovery manager may attempt to
    // recover transactions
    sc = new ServiceContainer("all");

    // Don't drop the tables again!

    sc.start(false);
View Full Code Here

    super(name);
  }
 
  public void testDropTables() throws Exception
  {
    ServiceContainer sc = null;
   
    try
    {   
      sc = new ServiceContainer("all");
     
      sc.start();
     
      sc.dropTables();
    }
    finally
    {     
      if (sc != null)
      {
        sc.stop();
      }
    }
  }
View Full Code Here

   public void setUp() throws Exception
   {
      super.setUp();

      sc = new ServiceContainer("all");
      sc.start();               
                 
      pm =
         new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                                    sc.getPersistenceManagerSQLProperties(),
View Full Code Here

    // We need a local transaction and recovery manager
    // We must start this after the remote servers have been created or it
    // won't
    // have deleted the database and the recovery manager may attempt to
    // recover transactions
    sc = new ServiceContainer("all");

    // Don't drop the tables again!

    sc.start(false);
View Full Code Here

      super.setUp();

      ServerManagement.stop();

      sc = new ServiceContainer("all");
      sc.start();
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.messaging.tools.container.ServiceContainer

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.