1 45 package org.exolab.jms.server.net; 46 47 import org.exolab.jms.config.Configuration; 48 import org.exolab.jms.config.RmiConfiguration; 49 import org.exolab.jms.config.types.SchemeType; 50 import org.exolab.jms.net.rmi.RMIRequestInfo; 51 import org.exolab.jms.net.uri.URI; 52 import org.exolab.jms.net.util.Properties; 53 54 55 61 class RMIConnectorCfg extends AbstractConnectorCfg { 62 63 68 public RMIConnectorCfg(Configuration config) { 69 super(SchemeType.RMI, config); 70 } 71 72 77 protected void populateAcceptProperties(Properties properties) { 78 URI uri = getURI(getExportURI()); 79 RMIRequestInfo info = new RMIRequestInfo(uri); 80 RmiConfiguration config = getConfiguration().getRmiConfiguration(); 81 82 info.setEmbedRegistry(config.getEmbeddedRegistry()); 83 info.export(properties); 84 } 85 } 86 | Popular Tags |