((DestroyableClassLoader) bootstrap.getClass().getClassLoader()).destroy();
if (bootstrap.getClass().getClassLoader() instanceof DestroyableClassLoader) { ((DestroyableClassLoader) bootstrap.getClass().getClassLoader()).destroy(); }
    public void uninstall() throws javax.jbi.JBIException {        // TODO: check component status        // the component must not be started and not have any SUs deployed        if (!isInstalled()) {            throw new DeploymentException("Component is not installed");        }        String componentName = context.getComponentName();        try {            container.deactivateComponent(componentName);            bootstrap.onUninstall();            context.setInstall(true);        } finally {            cleanUpBootstrap();            ((DestroyableClassLoader) bootstrap.getClass().getClassLoader()).destroy();            System.gc();            container.getEnvironmentContext().removeComponentRootDirectory(componentName);        }    }