1 45 package org.exolab.jms.net.vm; 46 47 import java.util.Map ; 48 49 import org.exolab.jms.net.connector.AbstractConnectionFactory; 50 import org.exolab.jms.net.connector.ConnectionManager; 51 import org.exolab.jms.net.connector.ConnectionRequestInfo; 52 import org.exolab.jms.net.connector.ResourceException; 53 import org.exolab.jms.net.connector.URIRequestInfo; 54 import org.exolab.jms.net.uri.URI; 55 56 57 63 class VMConnectionFactory extends AbstractConnectionFactory { 64 65 68 private static final String SCHEME = "vm"; 69 70 71 77 public VMConnectionFactory(VMManagedConnectionFactory factory, 78 ConnectionManager manager) { 79 super(SCHEME, factory, manager); 80 } 81 82 93 protected ConnectionRequestInfo getConnectionRequestInfo(URI uri, 94 Map properties) 95 throws ResourceException { 96 return new URIRequestInfo(uri); 97 } 98 99 } 100 | Popular Tags |