package org.jboss.test.jca.adapter;
import javax.resource.spi.ConnectionRequestInfo;
public class TestConnectionRequestInfo implements ConnectionRequestInfo
{
public String failure = "nowhere";
public TestConnectionRequestInfo ()
{
}
public TestConnectionRequestInfo (String failure)
{
this.failure = failure;
}
public int hashCode()
{
return failure.hashCode();
}
public boolean equals(Object param1)
{
if (param1 == this) return true;
if (param1 == null || (param1 instanceof TestConnectionRequestInfo) == false) return false;
TestConnectionRequestInfo other = (TestConnectionRequestInfo) param1;
return failure.equals(other.failure);
}
}