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