1 | void setTest(String newTest) {↵ | | 1 | void setConnectionFactory(String factory) {↵
|
2 | this.setProperty(TEST, newTest);↵ | | 2 | setProperty(↵
|
3 | }↵ | | |
|
|
4 | /*************************************************************************↵ | | 3 | CONN_FACTORY, factory);↵
|
| | | 4 | }↵
|
|
5 | **↵ | | 5 | /**↵
|
6 | * Gets the test attribute of the LDAPSampler object↵ | | 6 | * return the connection factory parameter used to lookup the connection↵
|
| | | 7 | * factory from the JMS server↵
|
7 | * ↵ | | 8 | * ↵
|
8 | * @return The test value (Add,Modify,Delete and search)↵ | | 9 | * @return the ↵
|
9 | *************************************************************************↵ | | 10 | connection factory↵
|
10 | */↵ | | 11 | */↵
|
11 | public String getTest() {↵ | | 12 | public String getConnectionFactory() {↵
|
12 | return getPropertyAsString(TEST);↵ | | 13 | return getPropertyAsString(CONN_FACTORY);↵
|
13 | }↵ | | 14 | }↵
|
|
14 | /***************************************************************************↵ | | 15 | /**↵
|
15 | * Sets the attributes of the LdapConfig object↵ | | 16 | * set the ↵
|
16 | * ↵ | | |
|
17 | * @param newAttrs↵ | | |
|
18 | * The new attributes value↵ | | |
|
19 | *************************************************************************↵ | | 17 | topic↵
|
| | | 18 | * ↵
|
| | | 19 | * @param topic↵
|
20 | */↵ | | 20 | */↵
|
21 | public void setAttrs(String newAttrs) {↵ | | 21 | public void setTopic(String topic) {↵
|
22 | this.setProperty(ATTRIBS, newAttrs);↵ | | 22 | setProperty(TOPIC, topic);↵
|
23 | | | 23 |
|