< prev index next >

src/java.management/share/classes/java/lang/management/OperatingSystemMXBean.java

Print this page

        

*** 33,49 **** * class of this interface. This instance implementing this interface is * an <a href="ManagementFactory.html#MXBean">MXBean</a> * that can be obtained by calling * the {@link ManagementFactory#getOperatingSystemMXBean} method or * from the {@link ManagementFactory#getPlatformMBeanServer ! * platform <tt>MBeanServer</tt>} method. * ! * <p>The <tt>ObjectName</tt> for uniquely identifying the MXBean for * the operating system within an MBeanServer is: * <blockquote> * {@link ManagementFactory#OPERATING_SYSTEM_MXBEAN_NAME ! * <tt>java.lang:type=OperatingSystem</tt>} * </blockquote> * * It can be obtained by calling the * {@link PlatformManagedObject#getObjectName} method. * --- 33,49 ---- * class of this interface. This instance implementing this interface is * an <a href="ManagementFactory.html#MXBean">MXBean</a> * that can be obtained by calling * the {@link ManagementFactory#getOperatingSystemMXBean} method or * from the {@link ManagementFactory#getPlatformMBeanServer ! * platform MBeanServer} method. * ! * <p>The {@code ObjectName} for uniquely identifying the MXBean for * the operating system within an MBeanServer is: * <blockquote> * {@link ManagementFactory#OPERATING_SYSTEM_MXBEAN_NAME ! * java.lang:type=OperatingSystem} * </blockquote> * * It can be obtained by calling the * {@link PlatformManagedObject#getObjectName} method. *
*** 61,71 **** * @since 1.5 */ public interface OperatingSystemMXBean extends PlatformManagedObject { /** * Returns the operating system name. ! * This method is equivalent to <tt>System.getProperty("os.name")</tt>. * * @return the operating system name. * * @throws java.lang.SecurityException * if a security manager exists and its --- 61,71 ---- * @since 1.5 */ public interface OperatingSystemMXBean extends PlatformManagedObject { /** * Returns the operating system name. ! * This method is equivalent to {@code System.getProperty("os.name")}. * * @return the operating system name. * * @throws java.lang.SecurityException * if a security manager exists and its
*** 76,86 **** */ public String getName(); /** * Returns the operating system architecture. ! * This method is equivalent to <tt>System.getProperty("os.arch")</tt>. * * @return the operating system architecture. * * @throws java.lang.SecurityException * if a security manager exists and its --- 76,86 ---- */ public String getName(); /** * Returns the operating system architecture. ! * This method is equivalent to {@code System.getProperty("os.arch")}. * * @return the operating system architecture. * * @throws java.lang.SecurityException * if a security manager exists and its
*** 91,101 **** */ public String getArch(); /** * Returns the operating system version. ! * This method is equivalent to <tt>System.getProperty("os.version")</tt>. * * @return the operating system version. * * @throws java.lang.SecurityException * if a security manager exists and its --- 91,101 ---- */ public String getArch(); /** * Returns the operating system version. ! * This method is equivalent to {@code System.getProperty("os.version")}. * * @return the operating system version. * * @throws java.lang.SecurityException * if a security manager exists and its
< prev index next >