01: package org.objectweb.jonas.webapp.jonasadmin.monitoring;
02:
03: import org.apache.struts.action.ActionForm;
04:
05: public class JkMemberForm extends ActionForm {
06: /**
07: * The worker's name
08: */
09: private String name = null;
10: /**
11: * The worker's host
12: */
13: private String host = null;
14: /**
15: * The member's state
16: */
17: private String state = null;
18:
19: /**
20: * The worker's port
21: */
22: private int port;
23:
24: /**
25: * The worker's load balance factor
26: */
27: private int lbFactor;
28:
29: /**
30: * worker type
31: */
32: private String type;
33:
34: /**
35: * load balancing factor, as defined in workers.properties
36: */
37: private int lbfactor;
38:
39: public String getName() {
40: return name;
41: }
42:
43: public void setName(String name) {
44: this .name = name;
45: }
46:
47: public String getHost() {
48: return host;
49: }
50:
51: public void setHost(String host) {
52: this .host = host;
53: }
54:
55: public String getState() {
56: return state;
57: }
58:
59: public void setState(String state) {
60: this .state = state;
61: }
62:
63: public int getLbfactor() {
64: return lbfactor;
65: }
66:
67: public void setLbfactor(int lbfactor) {
68: this .lbfactor = lbfactor;
69: }
70:
71: public int getLbFactor() {
72: return lbFactor;
73: }
74:
75: public void setLbFactor(int lbFactor) {
76: this .lbFactor = lbFactor;
77: }
78:
79: public int getPort() {
80: return port;
81: }
82:
83: public void setPort(int port) {
84: this .port = port;
85: }
86:
87: public String getType() {
88: return type;
89: }
90:
91: public void setType(String type) {
92: this.type = type;
93: }
94:
95: }
|