| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.library.JLibraryManager
public final class JLibraryManager
| Field Summary | |
|---|---|
| static java.lang.String | JDK_EXTENSION | 
| static java.lang.String | LEGACY_LIBRARY_FILEDeprecated. library.ini format no longer supported. | 
| static int | LIBRARY_ADDED | 
| static java.lang.String | LIBRARY_EXTENSION | 
| static java.lang.String | LIBRARY_LIST_FILE | 
| static int | LIBRARY_REMOVED | 
| static java.lang.String | SETTINGS_KEY | 
| Method Summary | |
|---|---|
|  void | addLibraryChangeListener(ProjectLibraryChangeListener libraryChangeListener) | 
| static JLibraryList | addLibraryList(java.net.URL url) | 
|  void | attach(Observer observer)Registers an observer interested in being notified when the internal state of the class implementing the Subjectinterface
 changes. | 
|  boolean | canShutdown()This method is called by the IDE to confirm that the ide can shutdown. | 
| static JDK | createJDK(java.lang.Object id,
          java.net.URL javaExe,
          MutableLibraryList list) | 
| static JLibrary | createLibrary(java.lang.Object id,
              MutableLibraryList list) | 
|  void | detach(Observer observer)Unregisters an observer that is not interested anymore in being notified when the internal state of the class implementing the Subjectinterface changes. | 
| static JDK | findJDK(java.lang.Object id) | 
| static JDK | findJDK(VersionNumber num,
        JDK[] jdks) | 
| static JDK | findJDKMatch(java.lang.Object id,
             VersionNumber num) | 
| static JLibrary | findLibrary(java.lang.Object id) | 
| static AddinLibraryList | getAddinLibraries() | 
| static LibraryList[] | getAllLibraryLists()Returns all lists last preserved as the working set. | 
| static JDK | getDefaultJDK() | 
|  java.util.Collection<DynamicLibraryProvider> | getDynamicLibraryProviders(java.lang.String[] technologyKeys)Returns an (immutable) collection of all dynamic library providers registered for a set of technology keys. | 
| static JLibraryManager | getInstance()Retrieves the single JLibraryManager instance. | 
| static java.util.List | getJDKs()Deprecated. Concept of finite library lists from which to gather JDKs no longer exists. Now returns only what can be found within the last working set of library lists. | 
| static java.util.List | getLibraries()Deprecated. Concept of finite library lists from which to gather libraries no longer exists. Now returns only what can be found within the last working set of library lists. | 
| static JLibraryList | getUserLibraries() | 
|  void | notifyObservers(java.lang.Object subject,
                UpdateMessage change)Notifies all observers that the state of the subject has changed. | 
|  void | projectLibrariesChanged(Project project,
                        java.util.Set<java.net.URL> modifiedJars,
                        java.util.Set<java.net.URL> addedJars,
                        java.util.Set<java.net.URL> deletedJars) | 
| static void | registerDerivedLibrary(java.lang.Class key,
                       java.lang.Class<? extends DerivedLibrary> cls)Deprecated. Use the libraries hook to register derived libraries | 
|  void | registerDynamicLibraryProvider(DynamicLibraryProvider provider)Deprecated. Use the libraries hook to register a dynamic library provider | 
| static void | removeJDK(JDK jdk,
          MutableLibraryList list) | 
| static void | removeLibrary(JLibrary lib,
              MutableLibraryList list) | 
|  void | removeLibraryChangeListener(ProjectLibraryChangeListener libraryChangeListener) | 
| static boolean | removeLibraryList(LibraryList list) | 
|  void | shutdown()Called on all shutdown hooks in the order they were registered when the IDE is terminating. | 
| static void | unregisterDerivedLibrary(java.lang.Class key)Deprecated. Use the libraries hook to register derived libraries | 
|  void | unregisterDynamicLibraryProvider(DynamicLibraryProvider provider)Deprecated. Use the libraries hook to register a dynamic library provider | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
@Deprecated public static final java.lang.String LEGACY_LIBRARY_FILE
public static final java.lang.String LIBRARY_LIST_FILE
public static final java.lang.String LIBRARY_EXTENSION
public static final java.lang.String JDK_EXTENSION
public static final int LIBRARY_ADDED
public static final int LIBRARY_REMOVED
public static final java.lang.String SETTINGS_KEY
| Method Detail | 
|---|
@Deprecated public void registerDynamicLibraryProvider(DynamicLibraryProvider provider)
provider - the provider to register. Must not be null.
java.lang.NullPointerException - if the provider argument is null.@Deprecated public void unregisterDynamicLibraryProvider(DynamicLibraryProvider provider)
provider - the provider to unregister.public java.util.Collection<DynamicLibraryProvider> getDynamicLibraryProviders(java.lang.String[] technologyKeys)
technologyKeys - the technology keys whose providers should be returned
DynamicLibraryProviders.public static JLibraryManager getInstance()
JLibraryManager instance.public static LibraryList[] getAllLibraryLists()
@Deprecated public static java.util.List getLibraries()
getAllLibraryLists()@Deprecated public static java.util.List getJDKs()
getAllLibraryLists()public static JDK getDefaultJDK()
public static JLibrary createLibrary(java.lang.Object id,
                                     MutableLibraryList list)
public static JLibrary findLibrary(java.lang.Object id)
public static void removeLibrary(JLibrary lib,
                                 MutableLibraryList list)
public static JDK createJDK(java.lang.Object id,
                            java.net.URL javaExe,
                            MutableLibraryList list)
public static JDK findJDK(java.lang.Object id)
public static JDK findJDK(VersionNumber num,
                          JDK[] jdks)
public static JDK findJDKMatch(java.lang.Object id,
                               VersionNumber num)
public static void removeJDK(JDK jdk,
                             MutableLibraryList list)
public static JLibraryList addLibraryList(java.net.URL url)
public static boolean removeLibraryList(LibraryList list)
public static JLibraryList getUserLibraries()
public static AddinLibraryList getAddinLibraries()
@Deprecated
public static void registerDerivedLibrary(java.lang.Class key,
                                                     java.lang.Class<? extends DerivedLibrary> cls)
DerivedLibrary class. The key
 should be the source node class. Registered Dependable classes
 will be recognized by this DependableRecognizer.
@Deprecated public static void unregisterDerivedLibrary(java.lang.Class key)
public void shutdown()
ShutdownHook
shutdown in interface ShutdownHookpublic boolean canShutdown()
canShutdown in interface ShutdownHookpublic void attach(Observer observer)
SubjectSubject interface
 changes.
 Implementors should do nothing when the same observer is added more
 than once.
attach in interface Subjectobserver - the Observer interested in change notification
                 messages.public void detach(Observer observer)
SubjectSubject
 interface changes.
 Implementors should do nothing when the same observer is removed more
 than once.
detach in interface Subjectobserver - the Observer disinterested in change
                 notification messages.
public void notifyObservers(java.lang.Object subject,
                            UpdateMessage change)
Subject
notifyObservers in interface Subjectsubject - the subject whose state has changed.change - what changed.public void addLibraryChangeListener(ProjectLibraryChangeListener libraryChangeListener)
public void removeLibraryChangeListener(ProjectLibraryChangeListener libraryChangeListener)
public void projectLibrariesChanged(Project project,
                                    java.util.Set<java.net.URL> modifiedJars,
                                    java.util.Set<java.net.URL> addedJars,
                                    java.util.Set<java.net.URL> deletedJars)
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||