Previous Topic Next topic Print topic


Class MFECIConnectionRequestInfo

An implementation class that enables a resource adapter to pass its own request-specific data structure across connection request flow.
java.lang.Object

extended by com.microfocus.cics.connector.spi.MFECIConnectionRequestInfo

All Implemented Interfaces

javax.resource.spi.ConnectionRequestInfo

Class Specifications

public class MFECIConnectionRequestInfo

extends Object

implements javax.resource.spi.ConnectionRequestInfo

Field Summary

static int USE_USERPWD

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.

Methods

Method Summary
boolean equals(Object obj)
void setGuid(String guid)

Set the guid.

boolean getStatefulSession()

Get the stateful session.

String getGuid()

Get the guid.

String getUser()

Get the user name.

String getPassword()

Get the password.

String getRealm()

Get the realm.

int hashCode()

Hash code for the connection request info instance.

int getUsage()

Get the usage.

boolean isTransactional()
void setTransactional(boolean transactional)
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait

Field Detail

USE_USERPWD
public static final int USE_USERPWD

See Also:

Constant Field Values

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:
guid
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:
obj The other obj.
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)
Previous Topic Next topic Print topic