1 | String getConnectionFactory() {↵ | | 1 | String getC↵
|
2 | ↵ | | 2 | lassname()↵
|
| | | 3 | {↵
|
3 | return getPropertyAsString(CONN_FACTORY);↵ | | 4 | return getPropertyAsString(C↵
|
4 | }↵ | | |
|
|
5 | ↵ | | 5 | LASSNAME);↵
|
| | | 6 | }↵
|
| | | 7 | ↵
|
6 | /**↵ | | 8 | /**↵
|
7 | * set the topic↵ | | 9 | * Set the ↵
|
8 | * ↵ | | |
|
9 | * @param topic↵ | | |
|
10 | ↵ | | 10 | string label used to create an instance of the↵
|
| | | 11 | * test with the string constructor.↵
|
| | | 12 | * @param constr↵
|
11 | */↵ | | 13 | */↵
|
12 | public void setTopic(String topic) {↵ | | 14 | public void set↵
|
13 | setProperty(TOPIC, topic);↵ | | |
|
14 | }↵ | | |
|
|
15 | ↵ | | 15 | ConstructorString(String constr)↵
|
| | | 16 | {↵
|
| | | 17 | setProperty(CONSTRUCTORSTRING,constr);↵
|
| | | 18 | }↵
|
| | | 19 | ↵
|
16 | /**↵ | | 20 | /**↵
|
17 | * return the topic used for the benchmark↵ | | 21 | * get the string passed to the ↵
|
18 | * ↵ | | |
|
19 | * @return the topic↵ | | |
|
20 | ↵ | | 22 | string constructor↵
|
21 | */↵ | | 23 | */↵
|
22 | public String getTopic() {↵ | | 24 | public String get↵
|
23 | ↵ | | 25 | ConstructorString()↵
|
| | | 26 | {↵
|
24 | return getPropertyAsString(TOPIC);↵ | | 27 | return getPropertyAsString(↵
|
25 | ↵ | | 28 | CONSTRUCTORSTRING);↵
|
26 | } | | 29 | }
|