1 18 19 package sync4j.server.config; 20 21 28 public class EngineConfiguration { 29 30 32 35 private String serverURI; 36 37 40 private String strategy; 41 42 45 private String sessionHandler; 46 47 50 private String store; 51 52 55 private String officer; 56 57 60 private String pipelineManager; 61 62 65 private String userManager; 66 67 70 private String loggingConfiguration; 71 72 75 private long minMaxMsgSize; 76 77 79 83 public String getServerURI() { 84 return serverURI; 85 } 86 87 91 public void setServerURI(String serverURI) { 92 this.serverURI = serverURI; 93 } 94 95 99 public String getStrategy() { 100 return strategy; 101 } 102 103 107 public void setStrategy(String strategy) { 108 this.strategy = strategy; 109 } 110 111 115 public String getSessionHandler() { 116 return sessionHandler; 117 } 118 119 123 public void setSessionHandler(String sessionHandler) { 124 this.sessionHandler = sessionHandler; 125 } 126 127 131 public String getStore() { 132 return store; 133 } 134 135 139 public void setStore(String store) { 140 this.store = store; 141 } 142 143 147 public String getOfficer() { 148 return officer; 149 } 150 151 155 public void setOfficer(String officer) { 156 this.officer = officer; 157 } 158 159 163 public String getPipelineManager() { 164 return pipelineManager; 165 } 166 167 171 public void setPipelineManager(String pipelineManager) { 172 this.pipelineManager = pipelineManager; 173 } 174 175 179 public String getUserManager() { 180 return userManager; 181 } 182 183 187 public void setUserManager(String userManager) { 188 this.userManager = userManager; 189 } 190 191 195 public String getLoggingConfiguration() { 196 return loggingConfiguration; 197 } 198 199 203 public void setLoggingConfiguration(String loggingConfiguration) { 204 this.loggingConfiguration = loggingConfiguration; 205 } 206 207 211 public long getMinMaxMsgSize() { 212 return minMaxMsgSize; 213 } 214 215 219 public void setMinMaxMsgSize(long minMaxMsgSize) { 220 this.minMaxMsgSize = minMaxMsgSize; 221 } 222 223 228 public String toString() { 229 StringBuffer buf = new StringBuffer (); 230 231 buf.append(getClass().getName()) 232 .append('@') 233 .append(hashCode()) 234 .append("{\n") 235 .append("serverURI: ").append(serverURI).append('\n') 236 .append("strategy: ").append(strategy).append('\n') 237 .append("sessionHandler: ").append(sessionHandler).append('\n') 238 .append("store: ").append(store).append('\n') 239 .append("loggingConfiguration: ").append(loggingConfiguration).append('\n') 240 .append('}'); 241 242 return buf.toString(); 243 } 244 } 245 | Popular Tags |