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.
 

Method Detail

getName

public 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

public 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

public 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()