| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.java.locator.ClassLocatorFactory
public class ClassLocatorFactory
The ClassLocatorFactory is a factory for fetching
 BaseClassLocator instances.  It provides a cache for
 these instances to allow sharing between clients. 
| Constructor Summary | |
|---|---|
ClassLocatorFactory()
 | 
|
| Method Summary | |
|---|---|
 BaseClassLocator | 
getClassLocator(java.net.URL rootURL)
Fetch a BaseClassLocator instance for the given root URL
 path, for Java class files. | 
 BaseClassLocator | 
getClassLocator(URLPath urlPath)
Fetch a BaseClassLocator instance for the given
 URLPath for locating class files. | 
static ClassLocatorFactory | 
getInstance()
Gets the ClassLocatorFactory instance to use for this session.  | 
 BaseClassLocator | 
getPathLocator(URLPath sourcePath,
               URLPath classPath)
Fetch a BaseClassLocator instance for the given source
 and class paths for locating source and class files. | 
 BaseClassLocator | 
getSourceLocator(java.net.URL rootURL)
Fetch a BaseClassLocator instance for the given root URL
 path, for Java source files. | 
 BaseClassLocator | 
getSourceLocator(URLPath urlPath)
Fetch a BaseClassLocator instance for the given
 URLPath for locating source files. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ClassLocatorFactory()
| Method Detail | 
|---|
public static ClassLocatorFactory getInstance()
public BaseClassLocator getSourceLocator(java.net.URL rootURL)
BaseClassLocator instance for the given root URL
 path, for Java source files.  Returns null if the URL is null.
rootURL - the root URL for the class locator
public BaseClassLocator getClassLocator(java.net.URL rootURL)
BaseClassLocator instance for the given root URL
 path, for Java class files.  Returns null if the URL is null.
 URL and file type.
rootURL - the root URL for the class locator
public BaseClassLocator getSourceLocator(URLPath urlPath)
BaseClassLocator instance for the given
 URLPath for locating source files.  This does not currently track
 changes to the URLPath.  Returns null if the URLPath is
 null.
urlPath - the URLPath to create a class locator for
public BaseClassLocator getClassLocator(URLPath urlPath)
BaseClassLocator instance for the given
 URLPath for locating class files.  This does not currently track
 changes to the URLPath.  Returns null if the URLPath is null.
urlPath - the URLPath to create a class locator for
public BaseClassLocator getPathLocator(URLPath sourcePath,
                                       URLPath classPath)
BaseClassLocator instance for the given source
 and class paths for locating source and class files.  This does not
 currently track changes to the URLPaths provided.  Returns null if
 both specified paths are null.
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||