Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.jdeveloper.webapp.utils
Class ProjectRunClassPathClassLoaderUtils

java.lang.Object
  extended by oracle.jdeveloper.webapp.utils.ProjectRunClassPathClassLoaderUtils

public final class ProjectRunClassPathClassLoaderUtils
extends java.lang.Object

Strange concept of an optimization: Aviod calls to expandToIncludeManifestClassPaths. This was added to fix 5955084. This class helps accomplish this. Note: That while this does not return a cached ClassLoader, it's possible it could be modified to do so.


Method Summary
static java.lang.ClassLoader getClassLoader(Project project)
          Returns a new ClassLoader for the given project, from a cached expanded URLPath.
static java.lang.ClassLoader getClassLoader(Project project, java.lang.ClassLoader parent)
          Returns a new ClassLoader for the given project and parent, from a cached expanded URLPath.
static URLPath getExpandedRunClassPath(Project project)
          Returns (a copy of) the cached expanded URLPath dsecribing the Run ClassPath for the given Project
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClassLoader

public static java.lang.ClassLoader getClassLoader(Project project)
Returns a new ClassLoader for the given project, from a cached expanded URLPath.

Parameters:
project -
Returns:
a new ClassLoader for the given project, from a cached expanded URLPath

getClassLoader

public static java.lang.ClassLoader getClassLoader(Project project,
                                                   java.lang.ClassLoader parent)
Returns a new ClassLoader for the given project and parent, from a cached expanded URLPath.

Parameters:
project -
parent -
Returns:
a new ClassLoader for the given project and parent, from a cached expanded URLPath

getExpandedRunClassPath

public static URLPath getExpandedRunClassPath(Project project)
Returns (a copy of) the cached expanded URLPath dsecribing the Run ClassPath for the given Project

Parameters:
project -
Returns:
the expanded Run ClassPath for the given Project

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.