An implementation class that enables a resource adapter to pass its own request-specific data structure across connection request flow.
All Implemented Interfaces
javax.resource.spi.ConnectionRequestInfo
Class Specifications
public class MFECIConnectionRequestInfo
extends
Object
implements javax.resource.spi.ConnectionRequestInfo
Constructor Summary
- MFECIConnectionRequestInfo()
- Create a connection request info instance.
-
MFECIConnectionRequestInfo(boolean sessType)
- Create a connection request info instance.
-
MFECIConnectionRequestInfo(boolean sessType,
String guid, boolean transactional)
- Create a connection request info instance.
-
MFECIConnectionRequestInfo(String user,
String password,
String realm, boolean sessType)
- Create a connection request info instance.
-
MFECIConnectionRequestInfo(String user,
String password,
String realm, boolean sessType,
String guid, boolean transactional)
- Create a connection request info instance.
Constructor Detail
- MFECIConnectionRequestInfo
-
public MFECIConnectionRequestInfo()
Create a connection request info instance.
- MFECIConnectionRequestInfo
-
public MFECIConnectionRequestInfo(boolean sessType)
Create a connection request info instance.
- MFECIConnectionRequestInfo
-
public MFECIConnectionRequestInfo(boolean sessType,
String guid,
boolean transactional)
- Parameters:
-
- MFECIConnectionRequestInfo
-
public MFECIConnectionRequestInfo(String user,
String password,
String realm,
boolean sessType)
- Parameters:
-
user
|
The user ID.
|
password
|
The password that corresponds to the user ID.
|
realm
|
The realm.
|
- MFECIConnectionRequestInfo
-
public MFECIConnectionRequestInfo(String user,
String password,
String realm,
boolean sessType
String guid,
boolean transactional)
- Parameters:
-
user
|
The user ID.
|
password
|
The password that corresponds to the user ID.
|
realm
|
The realm.
|
guid
|
|
Method Detail
- equals
-
public boolean equals (Object obj)
Is this object equal to obj.
- Specified by:
- equals in interface javax.resource.spi.ConnectionRequestInfo
- Overrides
- equals in class
Object
- Parameters:
-
- Returns:
-
- setGuid
-
public void setGuid(String guid)
Set the guid.
- getStatefulSession
-
public boolean getStatefulSession()
Get stateful session.
- getGuid
-
public String getGuid()
Get the guid.
- Returns:
- The guid.
- getUser
-
public String getUser()
Get the user name.
- Returns:
- The user name.
- getPassword
-
public String getPassword()
Get the password.
- Returns:
- The password.
- getRealm
-
public String getRealm()
Get the realm.
- Returns:
- The realm.
- hashCode
-
public int hashCode()
Hash code for the connection request info instance.
- Specified by:
- hashCode in interface javax.resource.spi.ConnectionRequestInfo
- Overrides
- equals in class
Object
- Returns:
- The hash code.
- getUsage
-
public int getUsage()
Get the usage.
- Returns:
- The usage.
- isTransactional
-
public boolean isTransactional()
- setTransactional
-
public void setTransactional(boolean transactional)