1 | void setTopic(String topic) {↵ | | 1 | void set↵
|
2 | setProperty(TOPIC, topic);↵ | | |
|
3 | ↵ | | 2 | Classname(String classname)↵
|
| | | 3 | {↵
|
| | | 4 | setProperty(CLASSNAME, classname);↵
|
4 | }↵ | | 5 | }↵
|
|
5 | /**↵ | | 6 | /**↵
|
6 | * return the topic used for the benchmark↵ | | 7 | * Gets the ↵
|
7 | ↵ | | 8 | Classname attribute of the JavaConfig object↵
|
8 | * ↵ | | 9 | *↵
|
9 | * @return the topic↵ | | 10 | * @return the ↵
|
10 | ↵ | | 11 | Classname value↵
|
11 | */↵ | | 12 | */↵
|
12 | public String getTopic() {↵ | | 13 | public String get↵
|
13 | return getPropertyAsString(TOPIC);↵ | | |
|
14 | }↵ | | |
|
|
15 | ↵ | | 14 | Classname()↵
|
| | | 15 | {↵
|
| | | 16 | return getPropertyAsString(CLASSNAME);↵
|
| | | 17 | }↵
|
| | | 18 | ↵
|
16 | /**↵ | | 19 | /**↵
|
17 | * set the username to login into the jms server if needed↵ | | 20 | * Set the ↵
|
18 | * ↵ | | |
|
19 | * @param user↵ | | |
|
20 | ↵ | | 21 | string label used to create an instance of the↵
|
| | | 22 | * test with the string constructor.↵
|
| | | 23 | * @param constr↵
|
21 | */↵ | | 24 | */↵
|
22 | public void setUsername(String user) {↵ | | 25 | public void set↵
|
23 | setProperty(PRINCIPAL, use↵ | | 26 | ConstructorString(String constr)↵
|
| | | 27 | {↵
|
24 | r);↵ | | 28 | setProperty(CONSTRUCTORSTRING,constr);↵
|
25 | } | | 29 | }
|