com.jcorporate.expresso.kernel.util
Class ClassLoaderComparator
java.lang.Object
com.jcorporate.expresso.kernel.util.ClassLoaderComparator
- public class ClassLoaderComparator
- extends Object
Utility class that checks to make sure that the classloader hasn't changed
indicating a context reload took place
- Version:
- $Revision: 1.2 $ on $Date: 2003/05/10 08:07:23 $
- Author:
- Michael Rimov
|
Method Summary |
static boolean |
sameClassLoader(Object o1)
Checks to make sure an object's classloader is the same as the current
Thread's. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassLoaderComparator
protected ClassLoaderComparator()
sameClassLoader
public static final boolean sameClassLoader(Object o1)
- Checks to make sure an object's classloader is the same as the current
Thread's.
- Parameters:
o1 - the object to check against.
- Returns:
- true if the object's classloader is the same as the Thread's.
Please see www.jcorporate.com for information about new Expresso releases.