false
);
Object bootstrap;
String duSimpleName = null;
Deployment deployment = createVFSDeployment(ear);
DeployerClient mainDeployer = getDeployerClient();
mainDeployer.addDeployment(deployment);
mainDeployer.process();
ControllerContext wbContext = null;
try
{
DeploymentUnit earDU = getMainDeployerStructure().getDeploymentUnit(deployment.getName());
String bootName = DeployersUtils.getBootstrapBeanName(earDU);
bootstrap = getBean(bootName, null);
assertInstanceOf(bootstrap, "org.jboss.test.deployers.support.CheckableBootstrap", earDU.getClassLoader());
// waiting on ejb
assertTrue(invoke(bootstrap, "Create"));