1 | String getProviderUrl() {↵ | | 1 | String getUsername() {↵
|
2 | return getPropertyAsString(PROVIDER_URL);↵ | | 2 | return getPropertyAsString(PRINCIPAL);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the connection factory for↵ | | 5 | * Set the password to login to the jms server↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param factory↵ | | 7 | * @param pwd↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setConnectionFactory(String factory) {↵ | | 9 | public void setPassword(String pwd) {↵
|
10 | setProperty(CONN_FACTORY, factory);↵ | | 10 | setProperty(CREDENTIALS, pwd);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * return the connection factory parameter used to lookup the connection↵ | | 13 | * return the ↵
|
14 | * factory from the JMS server↵ | | 14 | password used to login to the jms server↵
|
15 | * ↵ | | 15 | * ↵
|
16 | * @return the connection factory↵ | | 16 | * @return the password used to login to the jms server↵
|
17 | */↵ | | 17 | */↵
|
18 | public String getConnectionFactory() {↵ | | 18 | public String getPassword() {↵
|
19 | return getPropertyAsString(CONN_FACTORY);↵ | | 19 | return getPropertyAsString(CREDENTIALS);↵
|
20 | | | 20 |
|