1 | String getProviderUrl() {↵ | | 1 | String get↵
|
2 | return getPropertyAsString(PROVIDER_URL);↵ | | |
|
3 | }↵ | | |
|
|
4 | ↵ | | 2 | Classname()↵
|
| | | 3 | {↵
|
| | | 4 | return getPropertyAsString(CLASSNAME);↵
|
| | | 5 | }↵
|
| | | 6 | ↵
|
5 | /**↵ | | 7 | /**↵
|
6 | * set the connection factory for↵ | | 8 | * Set the ↵
|
7 | * ↵ | | |
|
8 | * @param factory↵ | | |
|
9 | ↵ | | 9 | string label used to create an instance of the↵
|
| | | 10 | * test with the string constructor.↵
|
| | | 11 | * @param constr↵
|
10 | */↵ | | 12 | */↵
|
11 | public void setConnectionFactory(String factory) {↵ | | 13 | public void setCon↵
|
12 | setProperty(CONN_FACTORY, factory);↵ | | |
|
13 | }↵ | | |
|
|
14 | ↵ | | 14 | structorString(String constr)↵
|
| | | 15 | {↵
|
| | | 16 | setProperty(CONSTRUCTORSTRING,constr);↵
|
| | | 17 | }↵
|
| | | 18 | ↵
|
15 | /**↵ | | 19 | /**↵
|
16 | * return the connection factory parameter used to lookup the connection↵ | | 20 | * get the ↵
|
17 | * factory from the JMS server↵ | | |
|
18 | ↵ | | 21 | string passed to the string constructor↵
|
19 | * ↵ | | 22 | */↵
|
20 | * @return the connection factory↵ | | |
|
21 | */↵ | | |
|
22 | public String getConnectionFactory() {↵ | | |
|
23 | ↵ | | 23 | public String getConstructorString()↵
|
| | | 24 | {↵
|
24 | return getPropertyAsString(CONN_FACTORY);↵ | | 25 | return getPropertyAsString(CON↵
|
25 | ↵ | | 26 | STRUCTORSTRING);↵
|
26 | } | | 27 | }
|