1 | void setClassname(String classname)↵ | | 1 | void set↵
|
2 | {↵ | | |
|
3 | setProperty(CLASSNAME, classname);↵ | | |
|
4 | ↵ | | 2 | UseAuth(String auth) {↵
|
| | | 3 | setProperty(USE_AUTH, auth);↵
|
5 | }↵ | | 4 | }↵
|
|
6 | /**↵ | | 5 | /**↵
|
7 | * Gets the Classname attribute of the JavaConfig object↵ | | 6 | * ret↵
|
8 | *↵ | | |
|
9 | ↵ | | 7 | urn whether jndi requires authentication↵
|
| | | 8 | * ↵
|
10 | * @return the Classname value↵ | | 9 | * @return ↵
|
11 | ↵ | | 10 | whether jndi requires authentication↵
|
12 | */↵ | | 11 | */↵
|
13 | public String getClassname()↵ | | 12 | public String get↵
|
14 | {↵ | | |
|
15 | return getPropertyAsString(CLASSNAME);↵ | | |
|
16 | }↵ | | |
|
17 | ↵ | | |
|
18 | ↵ | | 13 | UseAuth() {↵
|
| | | 14 | return getPropertyAsString(USE_AUTH);↵
|
| | | 15 | }↵
|
|
19 | /**↵ | | 16 | /**↵
|
20 | * Set the string label used to create an instance of the↵ | | 17 | * set ↵
|
21 | * test with the string constructor.↵ | | |
|
22 | * @param constr↵ | | |
|
23 | ↵ | | 18 | whether the sampler should read the response or not↵
|
| | | 19 | * ↵
|
| | | 20 | * @param read whether the sampler should read the response or not↵
|
24 | */↵ | | 21 | */↵
|
25 | public void setConstructorString(String constr)↵ | | 22 | public void set↵
|
26 | {↵ | | |
|
27 | setProperty(CONSTRUCTORSTRING,constr);↵ | | |
|
28 | }↵ | | |
|
29 | ↵ | | |
|
30 | ↵ | | 23 | ReadResponse(String read) {↵
|
| | | 24 | setProperty(READ_RESPONSE, read);↵
|
| | | 25 | }↵
|
|
31 | /**↵ | | 26 | /**↵
|
32 | * get the string passed to the string constructor↵ | | 27 | * ret↵
|
33 | ↵ | | 28 | urn whether the sampler should read the response↵
|
| | | 29 | * ↵
|
| | | 30 | * @return whether the sampler should read the response↵
|
34 | */↵ | | 31 | */↵
|
35 | public String getConstructorString()↵ | | 32 | public String get↵
|
36 | {↵ | | |
|
37 | ↵ | | 33 | ReadResponse() {↵
|
38 | return getPropertyAsString(CONSTRUCTORSTRING);↵ | | 34 | return getPropertyAsString(↵
|
39 | ↵ | | 35 | READ_RESPONSE);↵
|
40 | } | | 36 | }
|