/* 369 */ loadMBeanServer();
/* 370 */ BeanXMLDeployer deployer = new BeanXMLDeployer(kernel);
/* 371 */ if (bootstrap == null)
/* 372 */ throw new RuntimeException("Cannot find embedded-jboss-beans.xml");
/* 373 */ deployments.add(0, deployer.deploy(bootstrap));
/* 374 */ deployer.validate();
/* */
/* 376 */ URL ejb3_interceptors = Thread.currentThread().getContextClassLoader().getResource(basePath + "ejb3-interceptors-aop.xml");
/* 377 */ if (ejb3_interceptors == null)
/* 378 */ throw new RuntimeException("Cannot find ejb3-interceptors-aop.xml");
/* 379 */ AspectXmlLoader.deployXML(ejb3_interceptors);