1 | String getConfigChoice() {↵ | | 1 | String getJNDIInitialContextFactory() {↵
|
2 | return getPropertyAsString(CONFIG_CHOICE);↵ | | 2 | return getPropertyAsString(JNDI_INITIAL_CONTEXT_FAC);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the source of the message↵ | | 5 | * set the ↵
|
6 | * ↵ | | |
|
7 | * @param choice↵ | | 6 | provider user for jndi↵
|
| | | 7 | * ↵
|
| | | 8 | * @param url the provider URL↵
|
8 | */↵ | | 9 | */↵
|
9 | public void setMessageChoice(String choice) {↵ | | 10 | public void setProviderUrl(String url) {↵
|
10 | setProperty(MESSAGE_CHOICE, choice);↵ | | 11 | setProperty(PROVIDER_URL, url);↵
|
11 | }↵ | | 12 | }↵
|
|
12 | /**↵ | | 13 | /**↵
|
13 | * return the source of the message↵ | | 14 | * method returns the ↵
|
14 | * ↵ | | 15 | provider url for jndi to connect to↵
|
| | | 16 | * ↵
|
| | | 17 | * @return the provider URL↵
|
15 | */↵ | | 18 | */↵
|
16 | public String getMessageChoice() {↵ | | 19 | public String getProviderUrl() {↵
|
17 | return getPropertyAsString(MESSAGE_CHOICE);↵ | | 20 | return getPropertyAsString(PROVIDER_URL);↵
|
18 | | | 21 |
|