org.apache.openejb.util
Class UrlCache
java.lang.Object
org.apache.openejb.util.UrlCache
public class UrlCache
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
antiJarLocking
public static final boolean antiJarLocking
cacheDir
public static final File cacheDir
UrlCache
public UrlCache()
cacheUrls
public URL[] cacheUrls(String appId,
URL[] urls)
releaseUrls
public void releaseUrls(String appId)
getUrlCachedName
public File getUrlCachedName(String appId,
URL url)
isUrlCached
public boolean isUrlCached(String appId,
URL url)
getUrlKeyCached
public URL getUrlKeyCached(String appId,
File file)
deleteDir
public static void deleteDir(File dir)
- Delete the specified directory, including all of its contents and
subdirectories recursively.
- Parameters:
dir - File object representing the directory to be deleted
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.