Author: chris.laprun(a)jboss.com
Date: 2010-10-06 05:12:22 -0400 (Wed, 06 Oct 2010)
New Revision: 4522
Modified:
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/support/MockWSRPConsumer.java
Log:
- Forgot to commit this in my last commit.
Modified:
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/support/MockWSRPConsumer.java
===================================================================
---
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/support/MockWSRPConsumer.java 2010-10-06
08:41:31 UTC (rev 4521)
+++
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/support/MockWSRPConsumer.java 2010-10-06
09:12:22 UTC (rev 4522)
@@ -54,6 +54,7 @@
public class MockWSRPConsumer implements WSRPConsumer
{
private ProducerInfo producerInfo;
+ private boolean useWSRP2 = true;
public MockWSRPConsumer(String id)
{
@@ -185,6 +186,16 @@
throw new NotYetImplemented();
}
+ public boolean isUsingWSRP2()
+ {
+ return useWSRP2;
+ }
+
+ public void setUsingWSRP2(boolean useWSRP2)
+ {
+ this.useWSRP2 = useWSRP2;
+ }
+
public void destroy()
{
}