1 | String getProviderUrl() {↵ | | 1 | String getMatchNumberAsString() {↵
|
2 | return getPropertyAsString(PROVIDER_URL);↵ | | 2 | return getPropertyAsString(MATCH_NUMBER);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the connection factory for↵ | | 5 | * Sets the value of the variable if no matches are found↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param factory↵ | | 7 | * @param defaultValue↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setConnectionFactory(String factory) {↵ | | 9 | public void set↵
|
10 | setProperty(CONN_FACTORY, factory);↵ | | |
|
11 | }↵ | | |
|
|
12 | /**↵ | | |
|
13 | * return the connection factory parameter used to lookup the connection↵ | | |
|
14 | * factory from the JMS server↵ | | |
|
15 | * ↵ | | |
|
16 | * @return the connection factory↵ | | |
|
17 | */↵ | | 10 | DefaultValue(String defaultValue) {↵
|
| | | 11 | setProperty(DEFAULT, defaultValue);↵
|
| | | 12 | }↵
|
|
18 | public String getConnectionFactory() {↵ | | 13 | public String getDefaultValue() {↵
|
19 | return getPropertyAsString(CONN_FACTORY);↵ | | 14 | return getPropertyAsString(DEFAULT);↵
|
20 | } | | 15 | }
|