Lines Matching defs:management

26 package sun.management;
35 import java.lang.management.ManagementFactory;
47 import javax.management.remote.JMXConnectorServer;
48 import javax.management.remote.JMXServiceURL;
50 import static sun.management.AgentConfigurationError.*;
51 import sun.management.jmxremote.ConnectorBootstrap;
52 import sun.management.jdp.JdpController;
53 import sun.management.jdp.JdpException;
57 * This Agent is started by the VM when -Dcom.sun.management.snmp
58 * or -Dcom.sun.management.jmxremote is set. This class will be
63 // management properties
68 "com.sun.management.config.file";
70 "com.sun.management.snmp.port";
72 "com.sun.management.jmxremote";
74 "com.sun.management.jmxremote.port";
76 "com.sun.management.jmxremote.rmi.port";
78 "com.sun.management.enableThreadContentionMonitoring";
80 "com.sun.management.jmxremote.localConnectorAddress";
83 "sun.management.snmp.AdaptorBootstrap";
91 // Parse string com.sun.management.prop=xxx,com.sun.management.prop=yyyy
102 if (!name.startsWith("com.sun.management.")) {
114 // invoked by -javaagent or -Dcom.sun.management.agent.class
122 args = JMXREMOTE; // default to local management
172 // Load the management properties from the config file
174 // reads <java.home>/lib/management/management.properties
179 // management properties can be overridden by system properties
277 String discoveryPort = props.getProperty("com.sun.management.jdp.port");
278 String discoveryAddress = props.getProperty("com.sun.management.jdp.address");
279 String discoveryShouldStart = props.getProperty("com.sun.management.jmxremote.autodiscovery");
330 String instanceName = System.getProperty("com.sun.management.jdp.name");
344 // Load the management properties from the config file
349 // management properties can be overridden by system properties
368 // return if out-of-the-management option is not specified
388 throw new UnsupportedOperationException("Unsupported management property: " + SNMP_PORT,x);
391 throw new UnsupportedOperationException("Unsupported management property: " + SNMP_PORT,x);
399 throw new UnsupportedOperationException("Unsupported management property: " + SNMP_PORT,cause);
402 throw new UnsupportedOperationException("Unsupported management property: " + SNMP_PORT,x);
415 defaultFileName.append(File.separator).append("management");
416 defaultFileName.append(File.separator).append("management.properties");
448 String prop = System.getProperty("com.sun.management.agent.class");
450 // -Dcom.sun.management.agent.class not set so read management
453 // initialize management properties
461 // -Dcom.sun.management.agent.class=<agent classname>:<agent args>
537 ResourceBundle.getBundle("sun.management.resources.agent");
539 throw new Error("Fatal: Resource for management agent is missing");
550 return "Missing management agent resource bundle: key = \"" + key + "\"";