org.apache.openejb.util
Class UrlCache

java.lang.Object
  extended by org.apache.openejb.util.UrlCache

public class UrlCache
extends java.lang.Object


Field Summary
static boolean antiJarLocking
           
static java.io.File cacheDir
           
 
Constructor Summary
UrlCache()
           
 
Method Summary
 java.net.URL[] cacheUrls(java.lang.String appId, java.net.URL[] urls)
           
static void deleteDir(java.io.File dir)
          Delete the specified directory, including all of its contents and subdirectories recursively.
 void releaseUrls(java.lang.String appId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

antiJarLocking

public static final boolean antiJarLocking

cacheDir

public static final java.io.File cacheDir
Constructor Detail

UrlCache

public UrlCache()
Method Detail

cacheUrls

public java.net.URL[] cacheUrls(java.lang.String appId,
                                java.net.URL[] urls)

releaseUrls

public void releaseUrls(java.lang.String appId)

deleteDir

public static void deleteDir(java.io.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-2011 The Apache OpenEJB development community. All Rights Reserved.