Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.jdeveloper.library
Class JDKNode

java.lang.Object
  extended by oracle.ide.model.Node
      extended by oracle.jdeveloper.library.LibraryDataNode
          extended by oracle.jdeveloper.library.ExternalLibrary
              extended by oracle.jdeveloper.library.JDKNode
All Implemented Interfaces:
Displayable, Element, LazyLoadable, Locatable, Subject, Dirtyable, JDK, JPaths, Library

public class JDKNode
extends ExternalLibrary
implements JDK


Field Summary
static java.lang.String NAMESPACE_URI
           
static java.lang.String ROOT_TAG
           
 
Fields inherited from class oracle.ide.model.Node
LOG_READONLY
 
Fields inherited from interface oracle.jdeveloper.library.JDK
JDK_EXEC_PROPERTY, JDK_INSTALLED_VMS_PROPERTY, JDK_NAME_PROPERTY, JDK_SDK_BIN_DIR_PROPERTY, JDK_VERSION_NUMBER_PROPERTY
 
Fields inherited from interface oracle.jdeveloper.library.Library
LIBRARY_ID_PROPERTY, LIBRARY_NAME_PROPERTY
 
Fields inherited from interface oracle.jdeveloper.library.JPaths
CLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY
 
Constructor Summary
JDKNode()
           
JDKNode(java.net.URL url)
           
 
Method Summary
 boolean equivalent(Library lib)
          Determine whether the given Library is equivalent to this one with respect to the values of its public properties other than name.
protected  java.lang.String getExtension()
           
 java.lang.String[] getInstalledVMs()
           
 java.net.URL getJavaExecutable()
           
 java.lang.String getJavaExecutableNoConsole()
           
 VersionNumber getJavaVersion()
           
 java.net.URL getSDKBinDir()
           
 java.lang.String getSDKBinJavaExecutableNoConsole()
           
 java.util.Properties getSystemProperties()
          Get the Java system proprerties as they would be set when running in this JDK.
 void initFromLibrary(Library lib)
          Initialize all public properties, other than name, from the Library provided.
 void setInstalledVMs(java.lang.String[] installedVMs)
           
 void setJavaExecutable(java.net.URL url)
           
 void setJavaVersion(VersionNumber ver)
           
 void setSDKBinDir(java.net.URL url)
           
 
Methods inherited from class oracle.jdeveloper.library.ExternalLibrary
getClassPath, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getDocPath, getIcon, getID, getName, getShortLabel, getSourcePath, isLocked, setClassPath, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setDocPath, setLocked, setName, setSourcePath, toString
 
Methods inherited from class oracle.jdeveloper.library.LibraryDataNode
getObjectStoreTarget, getURL, newObjectStore, openImpl, saveImpl
 
Methods inherited from class oracle.ide.model.Node
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, closeImpl, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getChildren, getData, getInputStream, getLongLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, isDirty, isLoaded, isMigrating, isNew, isOpen, isReadLocked, isReadOnly, isReadOrWriteLocked, isTrackedInNodeCache, isWriteLocked, lockCount, markDirty, markDirtyImpl, mayHaveChildren, nodeLock, notifyObservers, open, readLock, readLockCount, readLockInterruptibly, readUnlock, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, reportOpenException, revert, revertImpl, runUnderReadLock, runUnderWriteLock, save, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, tryRunUnderReadLock, unsetMigrating, upgradeLock, upgradeUnlock, urlReadOnlyChanged, writeLock, writeLockCount, writeLockInterruptibly, writeUnlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.jdeveloper.library.Library
getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, getName, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setName
 
Methods inherited from interface oracle.jdeveloper.library.JPaths
getClassPath, getDocPath, getSourcePath, isLocked, setClassPath, setDocPath, setLocked, setSourcePath
 
Methods inherited from interface oracle.ide.model.Displayable
getIcon, getLongLabel, getShortLabel, getToolTipText, toString
 

Field Detail

NAMESPACE_URI

public static final java.lang.String NAMESPACE_URI

ROOT_TAG

public static final java.lang.String ROOT_TAG
See Also:
Constant Field Values
Constructor Detail

JDKNode

public JDKNode()

JDKNode

public JDKNode(java.net.URL url)
Method Detail

equivalent

public boolean equivalent(Library lib)
Description copied from interface: Library
Determine whether the given Library is equivalent to this one with respect to the values of its public properties other than name.

Specified by:
equivalent in interface Library
Overrides:
equivalent in class ExternalLibrary
Parameters:
lib - the Library against which to test for equivalence.
Returns:
true if all public properties are equal.

initFromLibrary

public void initFromLibrary(Library lib)
Description copied from interface: Library
Initialize all public properties, other than name, from the Library provided.

Specified by:
initFromLibrary in interface Library
Overrides:
initFromLibrary in class ExternalLibrary

getJavaExecutable

public java.net.URL getJavaExecutable()
Specified by:
getJavaExecutable in interface JDK

setJavaExecutable

public void setJavaExecutable(java.net.URL url)
Specified by:
setJavaExecutable in interface JDK

getInstalledVMs

public java.lang.String[] getInstalledVMs()
                                   throws TransientMarker
Specified by:
getInstalledVMs in interface JDK
Throws:
TransientMarker

setInstalledVMs

public void setInstalledVMs(java.lang.String[] installedVMs)
Specified by:
setInstalledVMs in interface JDK

getJavaVersion

public VersionNumber getJavaVersion()
Specified by:
getJavaVersion in interface JDK

setJavaVersion

public void setJavaVersion(VersionNumber ver)
Specified by:
setJavaVersion in interface JDK

getSDKBinDir

public java.net.URL getSDKBinDir()
Specified by:
getSDKBinDir in interface JDK

setSDKBinDir

public void setSDKBinDir(java.net.URL url)
Specified by:
setSDKBinDir in interface JDK

getSDKBinJavaExecutableNoConsole

public java.lang.String getSDKBinJavaExecutableNoConsole()
Specified by:
getSDKBinJavaExecutableNoConsole in interface JDK

getJavaExecutableNoConsole

public java.lang.String getJavaExecutableNoConsole()
Specified by:
getJavaExecutableNoConsole in interface JDK

getExtension

protected java.lang.String getExtension()
Specified by:
getExtension in class ExternalLibrary

getSystemProperties

public java.util.Properties getSystemProperties()
Description copied from interface: JDK
Get the Java system proprerties as they would be set when running in this JDK. Note that system properties can be redefined through command line arguments (such as -D) or through API calls (such as System.setProperty(java.lang.String, java.lang.String)). The properties returned by this method may or may not match the actual properties during a future execution of the JVM. Callers should typically only use the standard Java properties relating to the JDK implementation itself, such as java.home or java.version, which will typically have the same values whenever this JDK is run.

Specified by:
getSystemProperties in interface JDK
Returns:
the system properties

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

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