org.openejb.alt.config
Class TempCodebase
java.lang.Object
org.openejb.alt.config.TempCodebase
public class TempCodebase
- extends Object
- Version:
- $Revision: 2082 $ $Date: 2005-08-15 21:18:56 -0700 (Mon, 15 Aug 2005) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tempCodebases
protected static final HashMap tempCodebases
TempCodebase
public TempCodebase(String codebase)
throws OpenEJBException
- Throws:
OpenEJBException
getCodebase
public String getCodebase()
getClassLoader
public ClassLoader getClassLoader()
getTempCodebase
public static TempCodebase getTempCodebase(String codebase)
throws OpenEJBException
- Throws:
OpenEJBException
loadClass
public Class loadClass(String className)
throws OpenEJBException
- Throws:
OpenEJBException
unloadTempCodebase
public static void unloadTempCodebase(String codebase)
getCodebaseTempClassLoader
protected static ClassLoader getCodebaseTempClassLoader(String codebase)
throws OpenEJBException
- Ensures that a class loader for each code base used in the
system is created at most one time. The default bootsrap
classloader is used if codebase is null.
- Parameters:
codebase
-
- Returns:
- ClassLoader
- Throws:
OpenEJBException
getTempClassLoader
protected static ClassLoader getTempClassLoader(String codebase)
throws OpenEJBException
- Ensures that a class loader for each code base used in the
system is created at most one time. The default bootsrap
classloader is used if codebase is null.
- Parameters:
codebase
-
- Returns:
- ClassLoader
- Throws:
OpenEJBException
createTempCopy
protected static File createTempCopy(String codebase)
throws OpenEJBException
- Throws:
OpenEJBException
Copyright © 1999-2012 OpenEJB. All Rights Reserved.