Package bitronix.tm

Examples of bitronix.tm.Configuration


    private TransactionLogHeaderPanel transactionLogHeaderPanel2 = new TransactionLogHeaderPanel();
    private JMenuBar menuBar = new JMenuBar();


    public Console() throws IOException {
        final Configuration configuration = TransactionManagerServices.getConfiguration();

        JMenu findMenu = new JMenu("Find");
        menuBar.add(findMenu);
        JMenuItem bySequenceItem = new JMenuItem("First by sequence");
        JMenuItem byGtridItem = new JMenuItem("First by GTRID");
View Full Code Here


    private TransactionLogHeaderPanel transactionLogHeaderPanel2 = new TransactionLogHeaderPanel();
    private JMenuBar menuBar = new JMenuBar();


    public Console() throws IOException {
        final Configuration configuration = TransactionManagerServices.getConfiguration();

        JMenu findMenu = new JMenu("Find");
        menuBar.add(findMenu);
        JMenuItem bySequenceItem = new JMenuItem("First by sequence");
        JMenuItem byGtridItem = new JMenuItem("First by GTRID");
View Full Code Here

            props.put("osgi.jndi.serviceName", me.getKey());
            ServiceRegistration sr = context.registerService(DataSource.class.getName(), me.getValue(), props);
            dsRegistrations.put(me.getKey(), sr);
        }

        Configuration conf = TransactionManagerServices.getConfiguration();
        log.info(String.format("Started JTA for server ID '%s'.", conf.getServerId()));
  }
View Full Code Here

        for (ServiceRegistration reg : dsRegistrations.values()) {
            reg.unregister();
        }
        dsRegistrations.clear();
      
        Configuration conf = TransactionManagerServices.getConfiguration();
        log.info(String.format("Stopped JTA for server ID '%s'.", conf.getServerId()));
  }
View Full Code Here

  private BitronixTransactionManager btm;

  @Override
  public void addObjects(SimpleNamingContextBuilder contextBuilder)
      throws Exception {
    Configuration config = TransactionManagerServices.getConfiguration();
    config.setServerId("");
    config.setJournal("null");

    btm = TransactionManagerServices.getTransactionManager();
    contextBuilder.bind("java:comp/UserTransaction", btm);
  }
View Full Code Here

    private TransactionLogHeaderPanel transactionLogHeaderPanel2 = new TransactionLogHeaderPanel();
    private JMenuBar menuBar = new JMenuBar();


    public Console() throws IOException {
        final Configuration configuration = TransactionManagerServices.getConfiguration();

        JMenu findMenu = new JMenu("Find");
        menuBar.add(findMenu);
        JMenuItem bySequenceItem = new JMenuItem("First by sequence");
        JMenuItem byGtridItem = new JMenuItem("First by GTRID");
View Full Code Here

            props.put("osgi.jndi.service.name", me.getKey());
            ServiceRegistration sr = context.registerService(DataSource.class.getName(), me.getValue(), props);
            dsRegistrations.put(me.getKey(), sr);
        }

        Configuration conf = TransactionManagerServices.getConfiguration();
        log.info(String.format("Started JTA for server ID '%s'.", conf.getServerId()));
  }
View Full Code Here

        for (ServiceRegistration reg : dsRegistrations.values()) {
            reg.unregister();
        }
        dsRegistrations.clear();
      
        Configuration conf = TransactionManagerServices.getConfiguration();
        log.info(String.format("Stopped JTA for server ID '%s'.", conf.getServerId()));
  }
View Full Code Here

TOP

Related Classes of bitronix.tm.Configuration

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.