1 | void setUsername(String user) {↵ | | 1 | void setFilename(String newFilename) {↵
|
2 | setProperty(PRINCIPAL, user);↵ | | 2 | this.setProperty(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * return the username used to login to the jms server↵ | | |
|
6 | * ↵ | | |
|
7 | * @return the username used to login to the jms server↵ | | |
|
8 | */↵ | | 3 | FILENAME, newFilename);↵
|
| | | 4 | }↵
|
|
9 | public String getUsername() {↵ | | 5 | public String getFilename() {↵
|
10 | return getPropertyAsString(PRINCIPAL);↵ | | 6 | return getPropertyAsString(FILENAME);↵
|
11 | }↵ | | 7 | }↵
|
|
12 | /**↵ | | |
|
13 | * Set the password to login to the jms server↵ | | |
|
14 | * ↵ | | |
|
15 | * @param pwd↵ | | |
|
16 | */↵ | | |
|
17 | public void setPassword(String pwd) {↵ | | 8 | public void setRequestData(String newRequestData) {↵
|
18 | setProperty(CREDENTIALS, pwd);↵ | | 9 | this.setProperty(REQUEST, newRequestData);↵
|
19 | } | | 10 | }
|