1 7 package org.jboss.jms.client; 8 9 import java.util.Enumeration ; 10 11 import javax.jms.ExceptionListener ; 12 import javax.jms.JMSException ; 13 14 import org.jboss.jms.destination.JBossTemporaryDestination; 15 16 22 public interface ConnectionDelegate 23 extends Lifecycle 24 { 25 27 29 37 SessionDelegate createSession(boolean isXA, boolean transacted, int acknowledgeMode) throws JMSException ; 38 39 45 Enumeration getJMSXPropertyNames() throws JMSException ; 46 47 53 String getClientID() throws JMSException ; 54 55 61 void deleteTempDestination(JBossTemporaryDestination destination); 62 63 69 void setClientID(String id) throws JMSException ; 70 71 77 void setExceptionListener(ExceptionListener listener) throws JMSException ; 78 79 84 void start() throws JMSException ; 85 86 91 void stop() throws JMSException ; 92 93 } 95 | Popular Tags |