Accessing WebLogic Server MBeans with JMX (三)
???public static void main(String[] args) throws Exception {??????String hostname = args[0];??????String portString = args[1];??????String username = args[2];??????String password = args[3];
??????MonitorServlets s = new MonitorServlets();??????initConnection(hostname, portString, username, password);??????s.getServletData();??????connector.close();???}}