Searched defs:portStr (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/management/snmp/
H A DAdaptorBootstrap.java164 final String portStr = props.getProperty(PropertyNames.PORT);
166 return initialize(portStr,props);
173 AdaptorBootstrap initialize(String portStr, Properties props) { argument
176 if (portStr.length()==0) portStr=DefaultValues.PORT;
179 port = Integer.parseInt(portStr);
181 throw new AgentConfigurationError(INVALID_SNMP_PORT, x, portStr);
185 throw new AgentConfigurationError(INVALID_SNMP_PORT, portStr);
/openjdk7/jdk/src/share/classes/sun/management/jmxremote/
H A DConnectorBootstrap.java301 final String portStr = props.getProperty(PropertyNames.PORT);
302 return startRemoteConnectorServer(portStr, props);
309 * (String portStr, Properties props)
311 public static synchronized JMXConnectorServer initialize(String portStr, Properties props) { argument
312 return startRemoteConnectorServer(portStr, props);
319 public static synchronized JMXConnectorServer startRemoteConnectorServer(String portStr, Properties props) { argument
324 port = Integer.parseInt(portStr);
326 throw new AgentConfigurationError(INVALID_JMXREMOTE_PORT, x, portStr);
329 throw new AgentConfigurationError(INVALID_JMXREMOTE_PORT, portStr);

Completed in 37 milliseconds