< prev index next >

src/java.management/share/classes/java/lang/management/RuntimeMXBean.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#getRuntimeMXBean} method or * from the {@link ManagementFactory#getPlatformMBeanServer ! * platform <tt>MBeanServer</tt>} method. * ! * <p>The <tt>ObjectName</tt> for uniquely identifying the MXBean for * the runtime system within an MBeanServer is: * <blockquote> * {@link ManagementFactory#RUNTIME_MXBEAN_NAME ! * <tt>java.lang:type=Runtime</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#getRuntimeMXBean} method or * from the {@link ManagementFactory#getPlatformMBeanServer ! * platform MBeanServer} method. * ! * <p>The {@code ObjectName} for uniquely identifying the MXBean for * the runtime system within an MBeanServer is: * <blockquote> * {@link ManagementFactory#RUNTIME_MXBEAN_NAME ! * java.lang:type=Runtime} * </blockquote> * * It can be obtained by calling the * {@link PlatformManagedObject#getObjectName} method. *
*** 79,89 **** * * @return the Java virtual machine implementation name. * * @throws java.lang.SecurityException * if a security manager exists and its ! * <code>checkPropertiesAccess</code> method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getVmName(); --- 79,89 ---- * * @return the Java virtual machine implementation name. * * @throws java.lang.SecurityException * if a security manager exists and its ! * {@code checkPropertiesAccess} method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getVmName();
*** 95,105 **** * * @return the Java virtual machine implementation vendor. * * @throws java.lang.SecurityException * if a security manager exists and its ! * <code>checkPropertiesAccess</code> method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getVmVendor(); --- 95,105 ---- * * @return the Java virtual machine implementation vendor. * * @throws java.lang.SecurityException * if a security manager exists and its ! * {@code checkPropertiesAccess} method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getVmVendor();
*** 111,121 **** * * @return the Java virtual machine implementation version. * * @throws java.lang.SecurityException * if a security manager exists and its ! * <code>checkPropertiesAccess</code> method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getVmVersion(); --- 111,121 ---- * * @return the Java virtual machine implementation version. * * @throws java.lang.SecurityException * if a security manager exists and its ! * {@code checkPropertiesAccess} method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getVmVersion();
*** 127,137 **** * * @return the Java virtual machine specification name. * * @throws java.lang.SecurityException * if a security manager exists and its ! * <code>checkPropertiesAccess</code> method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getSpecName(); --- 127,137 ---- * * @return the Java virtual machine specification name. * * @throws java.lang.SecurityException * if a security manager exists and its ! * {@code checkPropertiesAccess} method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getSpecName();
*** 143,153 **** * * @return the Java virtual machine specification vendor. * * @throws java.lang.SecurityException * if a security manager exists and its ! * <code>checkPropertiesAccess</code> method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getSpecVendor(); --- 143,153 ---- * * @return the Java virtual machine specification vendor. * * @throws java.lang.SecurityException * if a security manager exists and its ! * {@code checkPropertiesAccess} method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getSpecVendor();
*** 159,169 **** * * @return the Java virtual machine specification version. * * @throws java.lang.SecurityException * if a security manager exists and its ! * <code>checkPropertiesAccess</code> method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getSpecVersion(); --- 159,169 ---- * * @return the Java virtual machine specification version. * * @throws java.lang.SecurityException * if a security manager exists and its ! * {@code checkPropertiesAccess} method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getSpecVersion();
*** 190,200 **** * * @return the Java class path. * * @throws java.lang.SecurityException * if a security manager exists and its ! * <code>checkPropertiesAccess</code> method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getClassPath(); --- 190,200 ---- * * @return the Java class path. * * @throws java.lang.SecurityException * if a security manager exists and its ! * {@code checkPropertiesAccess} method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getClassPath();
*** 210,220 **** * * @return the Java library path. * * @throws java.lang.SecurityException * if a security manager exists and its ! * <code>checkPropertiesAccess</code> method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getLibraryPath(); --- 210,220 ---- * * @return the Java library path. * * @throws java.lang.SecurityException * if a security manager exists and its ! * {@code checkPropertiesAccess} method doesn't allow access * to this system property. * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String) * @see java.lang.System#getProperty */ public String getLibraryPath();
*** 222,233 **** /** * Tests if the Java virtual machine supports the boot class path * mechanism used by the bootstrap class loader to search for class * files. * ! * @return <tt>true</tt> if the Java virtual machine supports the ! * class path mechanism; <tt>false</tt> otherwise. */ public boolean isBootClassPathSupported(); /** * Returns the boot class path that is used by the bootstrap class loader --- 222,233 ---- /** * Tests if the Java virtual machine supports the boot class path * mechanism used by the bootstrap class loader to search for class * files. * ! * @return {@code true} if the Java virtual machine supports the ! * class path mechanism; {@code false} otherwise. */ public boolean isBootClassPathSupported(); /** * Returns the boot class path that is used by the bootstrap class loader
*** 254,264 **** */ public String getBootClassPath(); /** * Returns the input arguments passed to the Java virtual machine ! * which does not include the arguments to the <tt>main</tt> method. * This method returns an empty list if there is no input argument * to the Java virtual machine. * <p> * Some Java virtual machine implementations may take input arguments * from multiple different sources: for examples, arguments passed from --- 254,264 ---- */ public String getBootClassPath(); /** * Returns the input arguments passed to the Java virtual machine ! * which does not include the arguments to the {@code main} method. * This method returns an empty list if there is no input argument * to the Java virtual machine. * <p> * Some Java virtual machine implementations may take input arguments * from multiple different sources: for examples, arguments passed from
*** 270,282 **** * Thus, the returned input arguments may not * include all command-line options. * * <p> * <b>MBeanServer access</b>:<br> ! * The mapped type of {@code List<String>} is <tt>String[]</tt>. * ! * @return a list of <tt>String</tt> objects; each element * is an argument passed to the Java virtual machine. * * @throws java.lang.SecurityException * if a security manager exists and the caller does not have * ManagementPermission("monitor"). --- 270,282 ---- * Thus, the returned input arguments may not * include all command-line options. * * <p> * <b>MBeanServer access</b>:<br> ! * The mapped type of {@code List<String>} is {@code String[]}. * ! * @return a list of {@code String} objects; each element * is an argument passed to the Java virtual machine. * * @throws java.lang.SecurityException * if a security manager exists and the caller does not have * ManagementPermission("monitor").
*** 302,312 **** /** * Returns a map of names and values of all system properties. * This method calls {@link System#getProperties} to get all * system properties. Properties whose name or value is not ! * a <tt>String</tt> are omitted. * * <p> * <b>MBeanServer access</b>:<br> * The mapped type of {@code Map<String,String>} is * {@link javax.management.openmbean.TabularData TabularData} --- 302,312 ---- /** * Returns a map of names and values of all system properties. * This method calls {@link System#getProperties} to get all * system properties. Properties whose name or value is not ! * a {@code String} are omitted. * * <p> * <b>MBeanServer access</b>:<br> * The mapped type of {@code Map<String,String>} is * {@link javax.management.openmbean.TabularData TabularData}
*** 316,339 **** * <tr> * <th>Item Name</th> * <th>Item Type</th> * </tr> * <tr> ! * <td><tt>key</tt></td> ! * <td><tt>String</tt></td> * </tr> * <tr> ! * <td><tt>value</tt></td> ! * <td><tt>String</tt></td> * </tr> * </table> * </blockquote> * * @return a map of names and values of all system properties. * * @throws java.lang.SecurityException * if a security manager exists and its ! * <code>checkPropertiesAccess</code> method doesn't allow access * to the system properties. */ public java.util.Map<String, String> getSystemProperties(); } --- 316,339 ---- * <tr> * <th>Item Name</th> * <th>Item Type</th> * </tr> * <tr> ! * <td>{@code key}</td> ! * <td>{@code String}</td> * </tr> * <tr> ! * <td>{@code value}</td> ! * <td>{@code String}</td> * </tr> * </table> * </blockquote> * * @return a map of names and values of all system properties. * * @throws java.lang.SecurityException * if a security manager exists and its ! * {@code checkPropertiesAccess} method doesn't allow access * to the system properties. */ public java.util.Map<String, String> getSystemProperties(); }
< prev index next >