org.ow2.util.ee.deploy.impl.helper
Class WebArchiveClassLoaderURLsHelper

java.lang.Object
  extended by org.ow2.util.ee.deploy.impl.helper.WebArchiveClassLoaderURLsHelper

Deprecated.

@Deprecated
public final class WebArchiveClassLoaderURLsHelper
extends Object

Allows to get the URLs used to load any classes in the given WEB archive.

Author:
Florent BENOIT

Method Summary
static List<URL> getURLs(org.ow2.util.archive.api.IArchive webArchive)
          Deprecated. Gets URLs from the given WEB Archive that are required for a classloader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getURLs

public static List<URL> getURLs(org.ow2.util.archive.api.IArchive webArchive)
                         throws org.ow2.util.archive.api.ArchiveException
Deprecated. 
Gets URLs from the given WEB Archive that are required for a classloader.

Parameters:
webArchive - the archive to analyze
Returns:
a list of URLs or empty URL list if no matching URLs are found.
Throws:
org.ow2.util.archive.api.ArchiveException - if the URLs are not retrieved


Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.