/* */ package org.jboss.remoting.transport.coyote.ssl;
/* */
/* */ import java.net.Socket;
/* */ import java.util.HashMap;
/* */ import java.util.Map;
/* */ import javax.management.MBeanServer;
/* */ import javax.net.ssl.SSLSocket;
/* */ import org.apache.tomcat.util.net.SSLImplementation;
/* */ import org.apache.tomcat.util.net.SSLSupport;
/* */ import org.apache.tomcat.util.net.ServerSocketFactory;
/* */
/* */ public class RemotingSSLImplementation extends SSLImplementation
/* */ {
/* 39 */ private static Map mbeanServerMap = new HashMap();
/* */
/* */ public String getImplementationName()
/* */ {
/* 48 */ return "JBoss Remoting SSL";
/* */ }
/* */
/* */ public ServerSocketFactory getServerSocketFactory()
/* */ {
/* 53 */ return new RemotingServerSocketFactory(mbeanServerMap);
/* */ }
/* */
/* */ public SSLSupport getSSLSupport(Socket sock)
/* */ {
/* 58 */ SSLSupport ssls = new RemotingSSLSupport((SSLSocket)sock);
/* 59 */ return ssls;
/* */ }
/* */
/* */ public static void setMBeanServer(String locator, MBeanServer mBeanServer)
/* */ {
/* 64 */ mbeanServerMap.put(locator, mBeanServer);
/* */ }
/* */ }
/* Location: /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name: org.jboss.remoting.transport.coyote.ssl.RemotingSSLImplementation
* JD-Core Version: 0.6.0
*/