A guy from Turkey<br /><a href="http://blogspot.serkandemir.com" target="_blank" rel="nofollow">http://blogspot.serkandemir.com</a>
So newly created objects will be instantiated from patch without reset application
might it be possible to make a runtime patching system
Originally posted by Paul Clapham:
You are not likely able to do anything about objects that already exist in your JVM.
class Server {
private Servicelnterface service; // use an interface
public void updateService(String location) {
MyClassLoader cl = new MyClassLoader(location);
Class c = cl.loadClass(�Service�);
service = (Servicelnterface)c.newlnstance();
}
public void processRequest (,..) {
service.run(...);
A guy from Turkey<br /><a href="http://blogspot.serkandemir.com" target="_blank" rel="nofollow">http://blogspot.serkandemir.com</a>
A guy from Turkey<br /><a href="http://blogspot.serkandemir.com" target="_blank" rel="nofollow">http://blogspot.serkandemir.com</a>