1 | void setClassname(String classname)↵ | | 1 | void setPassword(String ↵
|
2 | {↵ | | |
|
3 | setProperty(CLASSNAME, classname);↵ | | |
|
4 | ↵ | | 2 | pwd) {↵
|
| | | 3 | setProperty(CREDENTIALS, pwd);↵
|
5 | }↵ | | 4 | }↵
|
|
6 | /**↵ | | 5 | /**↵
|
7 | * Gets the Classname attribute of the JavaConfig object↵ | | 6 | * return the pass↵
|
8 | *↵ | | |
|
9 | ↵ | | 7 | word used to login to the jms server↵
|
| | | 8 | * ↵
|
10 | * @return the Classname value↵ | | 9 | * @return the pass↵
|
11 | ↵ | | 10 | word used to login to the jms server↵
|
12 | */↵ | | 11 | */↵
|
13 | public String getClassname()↵ | | 12 | public String getPass↵
|
14 | {↵ | | |
|
15 | ↵ | | 13 | word() {↵
|
16 | return getPropertyAsString(CLASSNAME);↵ | | 14 | return getPropertyAsString(C↵
|
17 | }↵ | | |
|
18 | ↵ | | |
|
19 | ↵ | | 15 | REDENTIALS);↵
|
| | | 16 | }↵
|
|
20 | /**↵ | | 17 | /**↵
|
21 | * Set the string label used to create an instance of the↵ | | 18 | * set the ↵
|
22 | * test with the string constructor.↵ | | |
|
23 | ↵ | | 19 | number of iterations the sampler should aggregate↵
|
| | | 20 | * ↵
|
24 | * @param constr↵ | | 21 | * @param co↵
|
25 | ↵ | | 22 | unt↵
|
26 | */↵ | | 23 | */↵
|
27 | public void setConstructorString(String constr)↵ | | 24 | public void set↵
|
28 | {↵ | | |
|
29 | setProperty(CONSTRUCTORSTRING,constr);↵ | | |
|
30 | }↵ | | |
|
31 | ↵ | | |
|
32 | ↵ | | 25 | Iterations(String count) {↵
|
| | | 26 | setProperty(ITERATIONS, count);↵
|
| | | 27 | }↵
|
|
33 | /**↵ | | 28 | /**↵
|
34 | * get the string passed to the string constructor↵ | | 29 | * get the ↵
|
35 | ↵ | | 30 | iterations as string↵
|
| | | 31 | * ↵
|
| | | 32 | * @return the number of iterations↵
|
36 | */↵ | | 33 | */↵
|
37 | public String getConstructorString()↵ | | 34 | public String get↵
|
38 | {↵ | | |
|
39 | ↵ | | 35 | Iterations() {↵
|
40 | return getPropertyAsString(CONSTRUCTORSTRING);↵ | | 36 | return getPropertyAsString(↵
|
41 | | | 37 | ITERATIONS);↵
|
| | | 38 |
|