Remove CSS modules
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / config / yang / config / actor_system_provider / impl / factory / osgi / BundleClassLoaderFactory.java
diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/config/yang/config/actor_system_provider/impl/factory/osgi/BundleClassLoaderFactory.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/config/yang/config/actor_system_provider/impl/factory/osgi/BundleClassLoaderFactory.java
deleted file mode 100644 (file)
index f01e85d..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (c) 2017 Pantheon Technologies s.r.o. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.controller.config.yang.config.actor_system_provider.impl.factory.osgi;
-
-import akka.osgi.BundleDelegatingClassLoader;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-import org.osgi.framework.BundleContext;
-
-public final class BundleClassLoaderFactory {
-
-    private BundleClassLoaderFactory() {
-
-    }
-
-    public static ClassLoader createClassLoader(final BundleContext bundleContext) {
-        return AccessController
-                .doPrivileged((PrivilegedAction<BundleDelegatingClassLoader>) () -> new BundleDelegatingClassLoader(
-                        bundleContext.getBundle(), Thread.currentThread().getContextClassLoader()));
-    }
-}