1 19 20 package com.sslexplorer.agent.client.standalone; 21 22 import com.sslexplorer.agent.client.Agent; 23 import com.sslexplorer.agent.client.AgentConfiguration; 24 25 public class StandaloneAgent { 26 27 private Agent agent; 28 private AgentConfiguration configuration; 29 30 public StandaloneAgent() throws Exception { 31 32 configuration = new AgentConfiguration(); 33 configuration.setGUIClass("com.sslexplorer.agent.client.standalone.StandaloneGUI"); 34 agent = new Agent(configuration); 35 agent.init(); 36 37 } 38 39 public static void main(String [] args) throws Exception { 40 org.apache.log4j.BasicConfigurator.configure(); 42 StandaloneAgent agent = new StandaloneAgent(); 44 } 45 } 46 | Popular Tags |