1 22 package org.jboss.ejb3.jms; 23 24 import javax.jms.Destination ; 25 26 32 public abstract class JMSDestinationFactory 33 { 34 private static final JMSDestinationFactory instance = new ServerPeerJMSDestinationFactory(); 35 36 public static JMSDestinationFactory getInstance() 37 { 38 return instance; 40 } 41 42 public abstract void createDestination(Class <? extends Destination > type, String jndiSuffix) throws Exception ; 43 } 44 | Popular Tags |