uninstallBundleList(supportBundles);
}
public ContainerMethodExecutor deploy(Context context, final Archive<?> archive) throws DeploymentException
{
TestDeployment deployment = context.get(TestDeployment.class);
BundleList bundleList = new BundleList();
context.add(BundleList.class, bundleList);
// Install the application archive
BundleHandle appHandle = installInternal(context, archive);
bundleList.add(appHandle);
// Install the auxiliary archives
for (Archive<?> auxArchive : deployment.getAuxiliaryArchives())
{
BundleHandle auxHandle = installInternal(context, auxArchive);
bundleList.add(auxHandle);
}