ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Inside Class Loaders
Subject:   Casting classes loaded from different effective classloaders
Date:   2003-11-21 13:27:39
From:   anonymous2
One way around your problem is to create a proxy class that implements the same interface. The proxy can delegate methods calls via introspection to the instance of itself loaded via a different classloader.

1 to 1 of 1
1 to 1 of 1