classloader
ClassLoader to replace a pre-loaded class?
General question: Is it possible to use a ClassLoader to replace a pre-loaded (by the system, e.g. found in Android\'s %android%/frameworks/base/preloaded-classes file) class?[详细]
2023-03-18 03:12 分类:问答Java ClassLoader - Adding dynamically loaded jars to the system class loader
Is there any way to update the system class loader at runtime? After I\'ve dynamically loaded a jar file, is there anything I can do to add the classes/packages loaded from this jar into my system cla[详细]
2023-03-17 22:22 分类:问答What is the difference between Class.getResource() and ClassLoader.getResource()?
I wonder what the difference is between Class.getResource() and ClassLoader.getResource()? edit: I especially want to know if any caching is involved on file/directory level. As in \"are directory li[详细]
2023-03-17 18:02 分类:问答loading class from latest version of library jar with URLClassloader
I have 2 versions of jar file (plugins1.0.jar and plugins2.0,jar) in same folder and trying to load Class from these jar files dynamically using URLClassloader.[详细]
2023-03-17 16:54 分类:问答Loading a singleton with a specified classloader in Eclipse
I have a little problem in my project. We develop a client for our server as eclipse plugin. There, we have our \'ApplicationRegistry\' which is barely more than a map that holds all objects we need[详细]
2023-03-17 16:15 分类:问答turn api with hibernate objects into service for multiple applications
i have an API that is being written for a large group of 40 or so applications to share. my problem is currently they plan on having the API as a simple library included in each war file for each pro[详细]
2023-03-17 06:05 分类:问答What for Sun JVM creates instances of sun.reflect.DelegatingClassLoader at runtime?
While analyzing a heap dump using jhat I have observed many instance开发者_如何学Cs of DelegatingClassLoader created although they were not called explicitly in code. I expect this to be some sort of[详细]
2023-03-16 01:55 分类:问答openorb and jdk conflict in OSGI
I\'m getting the bellow exception using openorbin osg开发者_开发问答i. I\'m using openorb-1.3.1.jar and jdk1.6.[详细]
2023-03-15 12:13 分类:问答Using JavaCompiler in an OSGi Bundle
I\'m in the process of refactoring a Java application to use OSGi.One feature of the application is on-the-fly Java compilation using javax.tools.JavaCompiler.In the original application this process[详细]
2023-03-15 04:13 分类:问答Websphere Shared Library
I have a web server which host 3 different applications, they all need one same library called \"bridge2java.jar\". I decided to use shared library to avoid \".dll (bridge2java.dll) already load in an[详细]
2023-03-15 02:34 分类:问答