javax.tools.diagnostics.runtime
Interface ManagedRuntime

All Known Subinterfaces:
JavaRuntime

public interface ManagedRuntime

A generic managed runtime instance. A Managed Runtime as against an "Unmanaged Runtime" is one where the runtime takes an active role in the program execution. Common examples of managed runtimes are the Java Virtual Machine or the .NET Common Language Runtime.
No class should implement this interface directly. This is an marker interface which is extended by specific runtime interfaces. See JavaRuntime as an example of such a case.


Method Summary
 java.lang.String getFullVersion()
          Deprecated. Use "getVersion()" instead
 java.lang.String getVersion()
          Returns version data available for this runtime instance.
 

Method Detail

getVersion

java.lang.String getVersion()
                            throws CorruptDataException
Returns version data available for this runtime instance. The version information is never null. The format of the version data is implementation specific.

Returns:
a string representing the available version information specific to the implementation
Throws:
CorruptDataException - If the ManagedRuntime implementation is unable to retrieve version data

getFullVersion

java.lang.String getFullVersion()
                                throws CorruptDataException
Deprecated. Use "getVersion()" instead

Returns:
a string representation of the version information for this runtime instance
Throws:
CorruptDataException
See Also:
getVersion()


Copyright © 2010. All Rights Reserved.