1 7 package org.jboss.ejb3.dd; 8 9 import java.util.ArrayList ; 10 import java.util.List ; 11 12 19 public class ClusterConfig 20 { 21 private String loadBalancePolicy = null; 22 23 private String partition = null; 24 25 public String getLoadBalancePolicy() 26 { 27 return loadBalancePolicy; 28 } 29 30 public void setLoadBalancePolicy(String loadBalancePolicy) 31 { 32 this.loadBalancePolicy = loadBalancePolicy; 33 } 34 35 public String getPartition() 36 { 37 return partition; 38 } 39 40 public void setPartition(String partition) 41 { 42 this.partition = partition; 43 } 44 45 public String toString() 46 { 47 StringBuffer sb = new StringBuffer (100); 48 sb.append("["); 49 sb.append("loadBalancePolicy=").append(loadBalancePolicy); 50 sb.append("]"); 51 return sb.toString(); 52 } 53 54 } 55 | Popular Tags |