KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tcsimulator > ClientViewImpl


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tcsimulator;
5
6
7 import java.util.List JavaDoc;
8
9 public class ClientViewImpl implements ClientView {
10
11   private final ClientSpec spec;
12
13   public ClientViewImpl(ClientSpec cSpec) {
14     spec = cSpec;
15   }
16
17   public String JavaDoc getHostName() {
18     return this.spec.getHostName();
19   }
20
21   public String JavaDoc getTestHome() {
22     return this.spec.getTestHome();
23   }
24
25   public int getVMCount() {
26     return this.spec.getVMCount();
27   }
28
29   public int getExecutionCount() {
30     return this.spec.getExecutionCount();
31   }
32
33   public List JavaDoc getJvmOpts() {
34     return this.spec.getJvmOpts();
35   }
36
37   public ClientView copy() {
38     return new ClientViewImpl(this.spec.copy());
39   }
40
41 }
42
Popular Tags