1 25 26 package org.objectweb.jonas.webapp.jonasadmin.service.ejb; 27 28 import javax.servlet.http.HttpServletRequest ; 29 30 import org.apache.struts.action.ActionMapping; 31 32 35 public class EjbSessionSblForm extends EjbSessionForm { 36 37 public static final String MAX_SIZE_POOL_DEFAULT = "0"; 39 40 41 42 44 47 private int instanceMinSizePool = 0; 48 private String instanceMaxSizePool = MAX_SIZE_POOL_DEFAULT; 49 private int instanceCurrentNumber = 0; 50 51 53 public void reset(ActionMapping mapping, HttpServletRequest request) { 54 super.reset(mapping, request); 55 instanceMinSizePool = 0; 56 instanceCurrentNumber = 0; 57 instanceMaxSizePool = MAX_SIZE_POOL_DEFAULT; 58 } 59 60 62 public int getInstanceMinSizePool() { 63 return instanceMinSizePool; 64 } 65 66 public void setInstanceMinSizePool(int instanceMinSizePool) { 67 this.instanceMinSizePool = instanceMinSizePool; 68 } 69 70 public String getInstanceMaxSizePool() { 71 return instanceMaxSizePool; 72 } 73 74 public void setInstanceMaxSizePool(String instanceMaxSizePool) { 75 this.instanceMaxSizePool = instanceMaxSizePool; 76 } 77 78 public int getInstanceCurrentNumber() { 79 return instanceCurrentNumber; 80 } 81 82 public void setInstanceCurrentNumber(int instanceCurrentNumber) { 83 this.instanceCurrentNumber = instanceCurrentNumber; 84 } 85 86 } 87 | Popular Tags |