1 7 package org.jboss.jms.client.p2p; 8 9 import javax.jms.JMSException ; 10 import javax.naming.NamingException ; 11 import javax.naming.Reference ; 12 13 import org.jboss.jms.client.ConnectionDelegate; 14 import org.jboss.jms.client.ImplementationDelegate; 15 16 23 public class P2PImplementation 24 implements ImplementationDelegate 25 { 26 28 30 32 34 36 38 public ConnectionDelegate createConnection(String userName, String password) throws JMSException 39 { 40 return new P2PConnectionDelegate(userName, password); 41 } 42 43 public Reference getReference() throws NamingException 44 { 45 return null; 46 } 47 48 50 52 54 56 } 57 | Popular Tags |