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