Author: ataylor
Date: 2011-06-17 02:59:31 -0400 (Fri, 17 Jun 2011)
New Revision: 10834
Modified:
branches/Branch_2_2_AS7/src/main/org/hornetq/ra/HornetQResourceAdapter.java
Log:
added transaction manager locator methods
Modified: branches/Branch_2_2_AS7/src/main/org/hornetq/ra/HornetQResourceAdapter.java
===================================================================
--- branches/Branch_2_2_AS7/src/main/org/hornetq/ra/HornetQResourceAdapter.java 2011-06-17
01:58:34 UTC (rev 10833)
+++ branches/Branch_2_2_AS7/src/main/org/hornetq/ra/HornetQResourceAdapter.java 2011-06-17
06:59:31 UTC (rev 10834)
@@ -1224,8 +1224,42 @@
raProperties.setSetupInterval(interval);
}
+ public String getTransactionManagerLocatorClass()
+ {
+ if (HornetQResourceAdapter.trace)
+ {
+
HornetQResourceAdapter.log.trace("getTransactionManagerLocatorClass()");
+ }
+ return raProperties.getTransactionManagerLocatorClass();
+ }
- /**
+ public void setTransactionManagerLocatorClass(String transactionManagerLocatorClass)
+ {
+ if (HornetQResourceAdapter.trace)
+ {
+ HornetQResourceAdapter.log.trace("setTransactionManagerLocatorClass("
+ transactionManagerLocatorClass + ")");
+ }
+ raProperties.setTransactionManagerLocatorClass(transactionManagerLocatorClass);
+ }
+
+ public String getTransactionManagerLocatorMethod()
+ {
+ if (HornetQResourceAdapter.trace) {
+
HornetQResourceAdapter.log.trace("getTransactionManagerLocatorMethod()");
+ }
+ return raProperties.getTransactionManagerLocatorMethod();
+ }
+
+ public void setTransactionManagerLocatorMethod(String
transactionManagerLocatorMethod)
+ {
+ if (HornetQResourceAdapter.trace)
+ {
+ HornetQResourceAdapter.log.trace("setTransactionManagerLocatorMethod("
+ transactionManagerLocatorMethod + ")");
+ }
+ raProperties.setTransactionManagerLocatorMethod(transactionManagerLocatorMethod);
+ }
+
+ /**
* Indicates whether some other object is "equal to" this one.
*
* @param obj Object with which to compare
Show replies by date