org.objectweb.joram.client.connector
Class ConnectionRequest
java.lang.Object
org.objectweb.joram.client.connector.ConnectionRequest
- javax.resource.spi.ConnectionRequestInfo
public class ConnectionRequest
extends java.lang.Object
implements javax.resource.spi.ConnectionRequestInfo
A ConnectionRequest
instance wraps a user connection
request for performing unified messaging.
protected String | password - Password of the user requesting a connection to the
underlying JORAM server.
|
protected String | userName - Identification of the user requesting a connection to the
underlying JORAM server.
|
ConnectionRequest(String userName, String password) - Constructs a
ConnectionRequest instance.
|
boolean | equals(Object o) - Compares
ConnectionRequest instances wrapped users
identities.
|
String | getPassword() - Returns the password of the user requesting a connection to the
underlying JORAM server.
|
String | getUserName() - Returns the identification of the user requesting a connection to the
underlying JORAM server.
|
int | hashCode() - Returns a code based on the wrapped user identity.
|
password
protected String password
Password of the user requesting a connection to the
underlying JORAM server.
userName
protected String userName
Identification of the user requesting a connection to the
underlying JORAM server.
ConnectionRequest
public ConnectionRequest(String userName,
String password)
Constructs a ConnectionRequest
instance.
userName
- Name of the user requesting a connection.password
- Password of the user requesting a connection.
equals
public boolean equals(Object o)
Compares ConnectionRequest
instances wrapped users
identities.
getPassword
public String getPassword()
Returns the password of the user requesting a connection to the
underlying JORAM server.
getUserName
public String getUserName()
Returns the identification of the user requesting a connection to the
underlying JORAM server.
hashCode
public int hashCode()
Returns a code based on the wrapped user identity.
Copyright B) 2004 Scalagent - All rights reserved