1 22 package org.jboss.jms.asf; 23 24 import javax.jms.Connection ; 25 import javax.jms.Destination ; 26 import javax.jms.JMSException ; 27 import javax.jms.MessageListener ; 28 import javax.jms.ServerSessionPool ; 29 import org.jboss.tm.XidFactoryMBean; 30 31 40 public interface ServerSessionPoolFactory 41 { 42 47 void setName(String name); 48 49 54 String getName(); 55 56 62 void setXidFactory(XidFactoryMBean xidFactory); 63 64 70 XidFactoryMBean getXidFactory(); 71 72 87 ServerSessionPool getServerSessionPool(Destination destination, Connection con, int minSession, int maxSession, 88 long keepAlive, boolean isTransacted, int ack, boolean useLocalTX, MessageListener listener) 89 throws JMSException ; 90 } | Popular Tags |