|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.java.locator.ClassLocatorFactory
oracle.jdeveloper.java.locator.JdevClassLocatorFactory
public class JdevClassLocatorFactory
The ClassLocatorFactory
is a factory for fetching BaseClassLocator
instances. It provides a cache for these instances to allow sharing between clients.
Constructor Summary | |
---|---|
JdevClassLocatorFactory() |
Method Summary | |
---|---|
static BaseClassLocator |
getLibraryLocator(Library library) Fetch a BaseClassLocator instance for the given library for locating source and class files. |
static BaseClassLocator |
getLibraryLocator(Library[] libraries) Fetch a BaseClassLocator instance for the given set of libraries for locating source and class files. |
static BaseClassLocator |
getLibraryLocatorInterruptibly(Library[] libraries) Fetch a BaseClassLocator instance for the given set of libraries for locating source and class files. |
BaseClassLocator |
getPathLocator(URLPath sourcePath, URLPath classPath) Fetch a BaseClassLocator instance for the given source and class paths for locating source and class files. |
BaseClassLocator |
getPathLocatorInterruptibly(URLPath sourcePath, URLPath classPath) Fetch a BaseClassLocator instance for the given source and class paths for locating source and class files. |
static BaseClassLocator |
getProjectLocator(Project project) Fetch a BaseClassLocator instance for the given project for locating source and class files. |
static BaseClassLocator |
getProjectLocatorInterruptibly(Project project) Get the class locator instance for a project. |
Methods inherited from class oracle.jdeveloper.java.locator.ClassLocatorFactory |
---|
getClassLocator, getClassLocator, getClassLocatorInterruptibly, getInstance, getSourceLocator, getSourceLocator, getSourceLocatorInterruptibly |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdevClassLocatorFactory()
Method Detail |
---|
public static BaseClassLocator getLibraryLocator(Library library)
BaseClassLocator
instance for the given library for locating source and class files. This does not currently track changes to the Library definition. Returns null if the library is null.library
- the library to create a class locator forpublic static BaseClassLocator getLibraryLocator(Library[] libraries)
BaseClassLocator
instance for the given set of libraries for locating source and class files. This does not currently track changes to the Library definitions. Returns null if the provided libraries is null.libraries
- the libraries to create a class locator forpublic static BaseClassLocator getLibraryLocatorInterruptibly(Library[] libraries) throws java.lang.InterruptedException
BaseClassLocator
instance for the given set of libraries for locating source and class files. This does not currently track changes to the Library definitions. Returns null if the provided libraries is null.libraries
- the libraries to create a class locator forjava.lang.InterruptedException
- if the calling thread is interrupted while creating the class locatorpublic static BaseClassLocator getProjectLocator(Project project)
BaseClassLocator
instance for the given project for locating source and class files. This does not currently track changes to the Project settings. Returns null if the project is null.project
- the project to create a class locator forpublic static BaseClassLocator getProjectLocatorInterruptibly(Project project) throws java.lang.InterruptedException
project
- the projectjava.lang.InterruptedException
- if the calling thread is interrupted while creating the class locatorpublic 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.getPathLocator
in class ClassLocatorFactory
public BaseClassLocator getPathLocatorInterruptibly(URLPath sourcePath, URLPath classPath) throws java.lang.InterruptedException
ClassLocatorFactory
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.getPathLocatorInterruptibly
in class ClassLocatorFactory
java.lang.InterruptedException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |