public abstract class WmConnectionRequestInfo
extends java.lang.Object
implements javax.resource.spi.ConnectionRequestInfo, com.wm.app.b2b.server.jca.LogDescriptor
public class UserPartition extends WmConnectionRequestInfo
{
private final String _userName;
private final String _password;
...
public String getLoggableName() {return _userName;}
public int hashCode() {return _userName.hashCode() ^ _password.hashCode*();}
public boolean equals(Object obj)
{
return (obj instanceof UserPartition) && obj.hasCode() == this.hashCode();
}
...
}
Constructor and Description |
---|
WmConnectionRequestInfo() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(java.lang.Object obj)
Adapter writers must implement this method to determine if the argument identifies the
same connection pool partition.
|
abstract java.lang.String |
getLoggableName()
This method should return a string that will identify the partiton in the server and/or error
logs.
|
abstract int |
hashCode()
Adapter writers must implement this method to return the hashcode of the data that defines tha partition.
|
public abstract boolean equals(java.lang.Object obj)
equals
in interface javax.resource.spi.ConnectionRequestInfo
equals
in class java.lang.Object
public abstract java.lang.String getLoggableName()
getLoggableName
in interface com.wm.app.b2b.server.jca.LogDescriptor
public abstract int hashCode()
hashCode
in interface javax.resource.spi.ConnectionRequestInfo
hashCode
in class java.lang.Object
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.