1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package net.mchaplin.ioc.rmi;
21
22 import java.util.ArrayList;
23
24 import net.mchaplin.ioc.configuration.DefaultConfiguration;
25
26
27
28 /***
29 * Hold configuration date for an RmiServer
30 * instance.
31 *
32 * @author mchaplin@users.sourceforge.net
33 *
34 */
35 public class RmiServerConfiguration extends DefaultConfiguration {
36
37 private ArrayList rmiServices = null;
38 private String hostAddress = null;
39 private int hostPort = 0;
40
41
42 public RmiServerConfiguration() {
43 }
44
45 /***
46 * @return Returns the rmiServices.
47 */
48 public ArrayList getRmiServices() {
49 return rmiServices;
50 }
51 /***
52 * @param rmiServices The rmiServices to set.
53 */
54 public void setRmiServices(ArrayList rmiServices) {
55 this.rmiServices = rmiServices;
56 }
57 /***
58 * @return Returns the hostAddress.
59 */
60 public String getHostAddress() {
61 return hostAddress;
62 }
63 /***
64 * @param hostAddress The hostAddress to set.
65 */
66 public void setHostAddress(String hostAddress) {
67 this.hostAddress = hostAddress;
68 }
69
70 /***
71 * @return Returns the hostPort.
72 */
73 public int getHostPort() {
74 return hostPort;
75 }
76 /***
77 * @param hostPort The hostPort to set.
78 */
79 public void setHostPort(int hostPort) {
80 this.hostPort = hostPort;
81 }
82 }