/* */ {
/* */ ManagedObject cfMO;
/* 123 */ if ("no-tx-connection-factory".equals(cfType))
/* */ {
/* 125 */ rootElementName = "connection-factories";
/* 126 */ ManagedConnectionFactoryDeploymentMetaData mcf = new NoTxConnectionFactoryDeploymentMetaData();
/* 127 */ mof.setBuilder(mcf.getClass(), new XADataSourceDeploymentMetaDataBuilder());
/* */
/* 129 */ cfMO = mof.initManagedObject(mcf, "ConnectionFactory", "NoTx");
/* */ }
/* */ else
/* */ {
/* */ ManagedObject cfMO;
/* 133 */ if ("no-tx-datasource".equals(cfType))
/* */ {
/* 135 */ ManagedConnectionFactoryDeploymentMetaData mcf = new NoTxDataSourceDeploymentMetaData();
/* 136 */ mof.setBuilder(mcf.getClass(), new XADataSourceDeploymentMetaDataBuilder());
/* 137 */ cfMO = mof.initManagedObject(mcf, KnownComponentTypes.DataSourceTypes.NoTx.getType().getType(), KnownComponentTypes.DataSourceTypes.NoTx.getType().getSubtype());
/* */ }
/* */ else
/* */ {
/* 142 */ throw new IllegalStateException("Unexpected value connection factory type: " + cfType);