Class BundleUtil.BundleGroupClassLoader
java.lang.Object
java.lang.ClassLoader
com.inductiveautomation.ignition.common.BundleUtil.BundleGroupClassLoader
- Enclosing class:
- BundleUtil
BundleUtil.BundleGroupClassLoader exists so that getResource*() calls can be intercepted and directed to
 BundleUtil.getLangPackLoader() and the wrapped ClassLoader before going to the system ClassLoader
 if necessary.
 
 Using a BundleUtil.BundleGroupClassLoader for anything other than loading resources will not work the way you want
 it to, so don't do it. Nothing but getResource*() calls are delegated, so you'll end up calling the system
 ClassLoader for all other calls.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetResource(String name) getResourceAsStream(String name) getResources(String name) booleanisValid()Methods inherited from class java.lang.ClassLoaderclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
- 
Constructor Details- 
BundleGroupClassLoader
 
- 
- 
Method Details- 
getResource- Overrides:
- getResourcein class- ClassLoader
 
- 
getResources- Overrides:
- getResourcesin class- ClassLoader
- Throws:
- IOException
 
- 
getResourceAsStream- Overrides:
- getResourceAsStreamin class- ClassLoader
 
- 
isValidpublic boolean isValid()- Returns:
- trueif this- BundleUtil.BundleGroupClassLoadershould still be used to load resources.
 
 
-