Module openj9.dtfj

Interface ManagedRuntime

  • All Known Subinterfaces:
    JavaRuntime
    All Known Implementing Classes:
    DTFJJavaRuntime, JavaRuntime, JCJavaRuntime, NativeRuntime

    public interface ManagedRuntime

    Represents a generic managed runtime instance.

    No class should implement this interface directly. Instead, they should implement another interface which extends this interface and provides APIs for a specific language runtime environment.

    • Method Detail

      • getFullVersion

        @Deprecated
        String getFullVersion()
                       throws CorruptDataException
        Deprecated.
        Use "getVersion()" instead
        Get the 'full' version information for this runtime.
        Returns:
        a string representation of the version information for this runtime instance
        Throws:
        CorruptDataException - If the runtime presents no understandable version data
        See Also:
        getVersion()
      • getVersion

        String getVersion()
                   throws CorruptDataException
        Get the version data available for this runtime instance.
        Returns:
        a string representing all the version data available for this runtime instance.
        Throws:
        CorruptDataException - If the runtime presents no understandable version data