context.get(ShrinkWrapDeployer.class).deploy(archive);
}
catch (org.jboss.deployers.spi.DeploymentException e)
{
// Translate the exception and wrap
throw new DeploymentException("Encountered error while deploying " + archive.toString(), e);
}
// Return
return new LocalMethodExecutor();
}