1 4 package com.tc.test.server.dsoserver; 5 6 import com.tc.test.server.tcconfig.TerracottaServerConfigGenerator; 7 8 import java.io.File ; 9 10 13 public final class StandardDsoServerParameters implements DsoServerParameters { 14 15 private final File config; 16 private final int dsoPort; 17 private final int jmxPort; 18 private final File outputFile; 19 private final File workingDir; 20 21 public StandardDsoServerParameters(TerracottaServerConfigGenerator config, File workingDir, File outputFile, 22 int dsoPort, int jmxPort) { 23 this.workingDir = workingDir; 24 this.outputFile = outputFile; 25 this.dsoPort = dsoPort; 26 this.jmxPort = jmxPort; 27 this.config = config.configFile(); 28 } 29 30 public File configFile() { 31 return config; 32 } 33 34 public int dsoPort() { 35 return dsoPort; 36 } 37 38 public int jmxPort() { 39 return jmxPort; 40 } 41 42 public String jvmArgs() { 43 return ""; 44 } 45 46 public String classpath() { 47 return ""; 48 } 49 50 public File outputFile() { 51 return outputFile; 52 } 53 54 public File workingDir() { 55 return workingDir; 56 } 57 } 58 | Popular Tags |