1 25 26 package org.objectweb.jonas.webapp.jonasadmin.service.jms; 27 28 import java.util.ArrayList ; 29 30 import javax.servlet.http.HttpServletRequest ; 31 32 import org.apache.struts.action.ActionErrors; 33 import org.apache.struts.action.ActionForm; 34 import org.apache.struts.action.ActionMapping; 35 36 40 public class QueueForm extends ActionForm { 41 42 44 private String name = null; 45 private int pendingMessages; 46 private int pendingRequests; 47 private ArrayList listUsedByEjb = new ArrayList (); 48 49 51 57 58 public void reset(ActionMapping mapping, HttpServletRequest request) { 59 name = null; 60 pendingMessages = 0; 61 pendingRequests = 0; 62 } 63 64 74 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 75 ActionErrors oErrors = new ActionErrors(); 76 return oErrors; 77 } 78 79 81 public String getName() { 82 return name; 83 } 84 85 public void setName(String name) { 86 this.name = name; 87 } 88 89 public int getPendingMessages() { 90 return pendingMessages; 91 } 92 93 public void setPendingMessages(int pendingMessages) { 94 this.pendingMessages = pendingMessages; 95 } 96 97 public int getPendingRequests() { 98 return pendingRequests; 99 } 100 101 public void setPendingRequests(int pendingRequests) { 102 this.pendingRequests = pendingRequests; 103 } 104 105 public ArrayList getListUsedByEjb() { 106 return listUsedByEjb; 107 } 108 109 public void setListUsedByEjb(ArrayList listUsedByEjb) { 110 this.listUsedByEjb = listUsedByEjb; 111 } 112 } 113 | Popular Tags |