KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > test > server > AbstractDBServer


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.tc.test.server;
5
6 import com.tctest.spring.integrationtests.framework.AbstractStoppable;
7 import com.tctest.spring.integrationtests.framework.Stoppable;
8
9 public abstract class AbstractDBServer extends AbstractStoppable implements Stoppable {
10     private int serverPort = 0;
11     private String JavaDoc dbName = null;
12
13     public int getServerPort() {
14       return serverPort;
15     }
16
17     public void setServerPort(int serverPort) {
18       this.serverPort = serverPort;
19     }
20
21     public String JavaDoc getDbName() {
22       return dbName;
23     }
24
25     public void setDbName(String JavaDoc dbName) {
26       this.dbName = dbName;
27     }
28 }
29
Popular Tags