Expresso 5-5-0

com.jcorporate.expresso.kernel.util
Class ClassLoaderComparator

java.lang.Object
  extended bycom.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

Constructor Summary
protected ClassLoaderComparator()
           
 
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
 

Constructor Detail

ClassLoaderComparator

protected ClassLoaderComparator()
Method Detail

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.

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.