1 | String getVarName() {↵ | | 1 | String getProviderUrl() {↵
|
2 | return getPropertyAsString(VAR_NAME);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | public void setFormat(String format) {↵ | | |
|
5 | setProperty(FORMAT, format);↵ | | |
|
6 | }↵ | | |
|
|
7 | public String getFormat() {↵ | | |
|
8 | ↵ | | 3 | PROVIDER_URL);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * set the connection factory for↵
|
| | | 7 | * ↵
|
| | | 8 | * @param factory↵
|
| | | 9 | */↵
|
| | | 10 | public void setConnectionFactory(String factory) {↵
|
| | | 11 | setProperty(CONN_FACTORY, factory);↵
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * return the connection factory parameter used to lookup the connection↵
|
| | | 15 | * factory from the JMS server↵
|
| | | 16 | * ↵
|
| | | 17 | * @return the connection factory↵
|
| | | 18 | */↵
|
| | | 19 | public String getConnectionFactory() {↵
|
9 | return getPropertyAsString(FORMAT);↵ | | 20 | return getPropertyAsString(↵
|
10 | | | 21 | CONN_FACTORY);↵
|
| | | 22 |
|