1 22 package org.jboss.ejb3.metamodel; 23 24 25 31 public class PoolConfig 32 { 33 private String poolClass = null; 34 private String maxSize = null; 35 private String timeout = null; 36 37 public String getPoolClass() 38 { 39 return poolClass; 40 } 41 42 public void setPoolClass(String poolClass) 43 { 44 this.poolClass = poolClass; 45 } 46 47 public String getMaxSize() 48 { 49 return maxSize; 50 } 51 52 public void setMaxSize(String maxSize) 53 { 54 this.maxSize = maxSize; 55 } 56 57 public String getTimeout() 58 { 59 return timeout; 60 } 61 62 public void setTimeout(String timeout) 63 { 64 this.timeout = timeout; 65 } 66 67 public String toString() 68 { 69 StringBuffer sb = new StringBuffer (100); 70 sb.append("["); 71 sb.append("poolClass=").append(poolClass); 72 sb.append(", maxSize=").append(maxSize); 73 sb.append(", timeout=").append(timeout); 74 sb.append("]"); 75 return sb.toString(); 76 } 77 78 } 79 | Popular Tags |