1 22 package org.jboss.ejb3.test.dd.mdb; 23 24 import java.util.ArrayList ; 25 26 import javax.jms.Destination ; 27 28 import org.jboss.annotation.ejb.Service; 29 30 35 @Service 36 public class TestStatusBean implements TestStatus 37 { 38 private static ArrayList destinations = new ArrayList (); 39 40 public void clear() 41 { 42 destinations.clear(); 43 } 44 45 public static void addDestination(Destination dest) 46 { 47 destinations.add(dest.toString()); 48 } 49 50 public ArrayList getDestinations() 51 { 52 return destinations; 53 } 54 55 56 } 57 | Popular Tags |