com.bea.jvm
Interface OperatingSystem

All Superinterfaces:
Describable, JVMComponent

public interface OperatingSystem
extends JVMComponent

Representation of the Operating system.

Author:
Calle Wilund, Marcus Hirt

Method Summary
 java.lang.String getDescription()
          Returns a platform depending String describing the operating system.
 java.lang.String getName()
          Returns the name of the operating system.
 Memory getVirtualMemory()
          Returns the virtual memory.
 
Methods inherited from interface com.bea.jvm.JVMComponent
getJVM
 

Method Detail

getName

java.lang.String getName()
                         throws NotAvailableException
Returns the name of the operating system. For example 'Windows' or 'Linux'.

Returns:
the name of the operating system.
Throws:
NotAvailableException - if this functionality isn't available in this JVM.

getVirtualMemory

Memory getVirtualMemory()
                        throws NotAvailableException
Returns the virtual memory.

Returns:
the virtual memory.
Throws:
NotAvailableException - if this functionality isn't available in this JVM.
See Also:
Memory

getDescription

java.lang.String getDescription()
Returns a platform depending String describing the operating system.

Specified by:
getDescription in interface Describable
Returns:
the description as a String.
See Also:
Describable.getDescription()


Copyright © 1999, 2008, Oracle and/or its affiliates. All rights reserved.