gboat2.base.core
类 GBoatClassLoader
java.lang.Object
java.lang.ClassLoader
gboat2.base.core.GBoatClassLoader
public final class GBoatClassLoader
- extends ClassLoader
从类 java.lang.ClassLoader 继承的方法 |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static GBoatClassLoader getInstance()
add
public void add(String packageName,
org.osgi.framework.Bundle bundle)
getBundle
public org.osgi.framework.Bundle getBundle(String packageName)
getActionPackage
public String getActionPackage(String bundleName)
- 根据Bundle名称获取该Bundle下的Action包名
- 参数:
bundleName
-
- 返回:
findClass
public Class<?> findClass(String className)
throws ClassNotFoundException
- 覆盖:
- 类
ClassLoader
中的 findClass
- 抛出:
ClassNotFoundException
getBundleClassLoaders
public Map<String,org.osgi.framework.Bundle> getBundleClassLoaders()
getBundleActionPackage
public Map<String,String> getBundleActionPackage()
Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.