1 4 package com.tc.simulator.distrunner; 5 6 import com.tcsimulator.ClientSpec; 7 import com.tcsimulator.ClientSpecImpl; 8 import com.tcsimulator.distrunner.ServerSpec; 9 import com.tcsimulator.distrunner.ServerSpecImpl; 10 11 import java.util.List ; 12 13 public class SpecFactoryImpl implements SpecFactory { 14 15 public ClientSpec newClientSpec(String hostname, String testHome, int vmCount, int executionCount, List jvmOpts) { 16 return new ClientSpecImpl(hostname, testHome, vmCount, executionCount, jvmOpts); 17 } 18 19 public ServerSpec newServerSpec(String host, String path, int cache, int jmxPort, int dsoPort, List jvmOpts, int type) { 20 return new ServerSpecImpl(host, path, cache, jmxPort, dsoPort, jvmOpts, type); 21 } 22 } 23 | Popular Tags |