ApplicationServer applicationServer = new ServerFederation();
SystemInstance.get().setComponent(ApplicationServer.class, applicationServer);
// install transaction manager
transactionManager = getRawService(kernel, transactionManager);
TransactionServiceInfo transactionServiceInfo = new TransactionServiceInfo();
PassthroughFactory.add(transactionServiceInfo, transactionManager);
transactionServiceInfo.id = "Default Transaction Manager";
transactionServiceInfo.service = "TransactionManager";
assembler.createTransactionManager(transactionServiceInfo);
SystemInstance.get().setComponent(XAResourceWrapper.class, new GeronimoXAResourceWrapper());