1 22 package org.jboss.ejb3.metamodel; 23 24 25 32 public class ClusterConfig 33 { 34 private String loadBalancePolicy = null; 35 36 private String partition = null; 37 38 public String getLoadBalancePolicy() 39 { 40 return loadBalancePolicy; 41 } 42 43 public void setLoadBalancePolicy(String loadBalancePolicy) 44 { 45 this.loadBalancePolicy = loadBalancePolicy; 46 } 47 48 public String getPartition() 49 { 50 return partition; 51 } 52 53 public void setPartition(String partition) 54 { 55 this.partition = partition; 56 } 57 58 public String toString() 59 { 60 StringBuffer sb = new StringBuffer (100); 61 sb.append("["); 62 sb.append("loadBalancePolicy=").append(loadBalancePolicy); 63 sb.append("]"); 64 return sb.toString(); 65 } 66 67 } 68 | Popular Tags |