1 | String getJNDIInitialContextFactory() {↵ | | 1 | String getUsername() {↵
|
2 | return getPropertyAsString(JNDI_INITIAL_CONTEXT_FAC);↵ | | 2 | return getPropertyAsString(PRINCIPAL);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the provider user for jndi↵ | | 5 | * Set the p↵
|
6 | * ↵ | | |
|
7 | * @param url the provider URL↵ | | 6 | assword to login to the jms server↵
|
| | | 7 | * ↵
|
| | | 8 | * @param pwd↵
|
8 | */↵ | | 9 | */↵
|
9 | public void setProviderUrl(String url) {↵ | | 10 | public void setPassword(String pwd) {↵
|
10 | setProperty(PROVIDER_URL, url);↵ | | 11 | setProperty(CREDENTIALS, pwd);↵
|
11 | }↵ | | 12 | }↵
|
|
12 | /**↵ | | 13 | /**↵
|
13 | * method returns the provider url for jndi to connect to↵ | | 14 | * return the p↵
|
14 | * ↵ | | |
|
15 | * @return the provider URL↵ | | 15 | assword used to login to the jms server↵
|
| | | 16 | * ↵
|
| | | 17 | * @return the password used to login to the jms server↵
|
16 | */↵ | | 18 | */↵
|
17 | public String getProviderUrl() {↵ | | 19 | public String getPassword() {↵
|
18 | return getPropertyAsString(PROVIDER_URL);↵ | | 20 | return getPropertyAsString(CREDENTIALS);↵
|
19 | | | 21 |
|