/* */ package org.jboss.remoting.samples.detection.jndi.ssl;
/* */
/* */ import java.net.URL;
/* */ import java.util.HashMap;
/* */ import java.util.Map;
/* */ import org.jboss.remoting.samples.detection.jndi.SimpleDetectorClient;
/* */
/* */ public class SimpleSSLDetectorClient extends SimpleDetectorClient
/* */ {
/* */ public static void main(String[] args)
/* */ {
/* 20 */ println("Starting JBoss/Remoting client... to stop this client, kill it manually via Control-C");
/* 21 */ SimpleDetectorClient client = new SimpleSSLDetectorClient();
/* */ try
/* */ {
/* 24 */ client.setupDetector();
/* */ while (true)
/* */ {
/* 29 */ Thread.sleep(1000L);
/* */ }
/* */ }
/* */ catch (Throwable e)
/* */ {
/* 34 */ e.printStackTrace();
/* */
/* 37 */ println("Stopping JBoss/Remoting client");
/* */ }
/* */ }
/* */
/* */ protected Map getConfiguration()
/* */ {
/* 43 */ Map config = new HashMap();
/* 44 */ config.put("org.jboss.remoting.trustStoreType", "JKS");
/* 45 */ String trustStoreFilePath = getClass().getResource("truststore").getFile();
/* 46 */ config.put("org.jboss.remoting.trustStore", trustStoreFilePath);
/* 47 */ config.put("org.jboss.remoting.trustStorePassword", "unit-tests-client");
/* 48 */ return config;
/* */ }
/* */ }
/* Location: /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name: org.jboss.remoting.samples.detection.jndi.ssl.SimpleSSLDetectorClient
* JD-Core Version: 0.6.0
*/