Class: sun.management.Agent
- public class Agent
This Agent is started by the VM when -Dcom.sun.management.snmp
or -Dcom.sun.management.jmxremote is set. This class will be
loaded by the system class loader.
Methods
-
Agenttop
public Agent() -
agentmaintop
-
errortop
public static void error(Exception e) -
errortop
public static void error(String key) -
errortop
-
errortop
-
getManagementPropertiestop
public static synchronized Properties getManagementProperties() -
getTexttop
-
getTexttop
-
initResourcetop
static private void initResource() -
loadManagementPropertiestop
public static Properties loadManagementProperties() -
loadSnmpAgenttop
static private void loadSnmpAgent(String snmpPort, Properties props) -
premaintop
-
readConfigurationtop
static private void readConfiguration(String fname, Properties p) -
startAgenttop
public static void startAgent() throws Exception -
startAgenttop
static private void startAgent(Properties props) throws Exception -
warningtop
Fields
-
CONFIG_FILE
static final private String CONFIG_FILE = "com.sun.management.config.file" -
ENABLE_THREAD_CONTENTION_MONITORING
static final private String ENABLE_THREAD_CONTENTION_MONITORING = "com.sun.management.enableThreadContentionMonitoring" -
JMXREMOTE
static final private String JMXREMOTE = "com.sun.management.jmxremote" -
JMXREMOTE_PORT
static final private String JMXREMOTE_PORT = "com.sun.management.jmxremote.port" -
LOCAL_CONNECTOR_ADDRESS_PROP
static final private String LOCAL_CONNECTOR_ADDRESS_PROP = "com.sun.management.jmxremote.localConnectorAddress" -
SNMP_ADAPTOR_BOOTSTRAP_CLASS_NAME
static final private String SNMP_ADAPTOR_BOOTSTRAP_CLASS_NAME = "sun.management.snmp.AdaptorBootstrap" -
SNMP_PORT
static final private String SNMP_PORT = "com.sun.management.snmp.port" -
messageRB
static private ResourceBundle messageRB -
mgmtProps
static private Properties mgmtProps
