public ContainerMethodExecutor deploy(Context context, final Archive<?> archive)
throws DeploymentException
{
final BeanDeploymentArchive beanArchive = archive.as(ShrinkwrapBeanDeploymentArchive.class);
ClassLoader cl = new ShrinkWrapClassLoader(archive);
Thread.currentThread().setContextClassLoader(cl);
Deployment deployment = new Deployment()
{