IBM Branch Transformation Toolkit Javadoc

com.ibm.connector2.sna.lu62
Class Lu62ManagedConnectionFactory

java.lang.Object
  extended bycom.ibm.connector2.sna.lu62.Lu62ManagedConnectionFactory
All Implemented Interfaces:
javax.resource.spi.ManagedConnectionFactory, java.io.Serializable

public class Lu62ManagedConnectionFactory
extends java.lang.Object
implements javax.resource.spi.ManagedConnectionFactory

Lu62ManagedConnectionFactory instance is a factory of both ManagedConnection and EIS-specific connection factory instances

See Also:
Serialized Form

Constructor Summary
Lu62ManagedConnectionFactory()
           
 
Method Summary
 void addLu62EventListner(Lu62ConversationEventListener listener)
           
 java.lang.Object createConnectionFactory()
          Creates an instance of com.ibm.connector.lu62.LU62ConnectionFactory
 java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
          Creates an instance of com.ibm.connector.lu62.LU62ConnectionFactory
 javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
          Creates a new physical connection - LU6.2 Conversation
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getChaining()
          Gets the chaining
 Lu62ConversationConfigurationProperties getConfigurationProperties()
          Gets the configurationProperties
 java.lang.Boolean getConfirmMode()
          Gets the confirmMode
 java.lang.Integer getEstablishConversationRetries()
          Gets the establishConversationRetries
 java.lang.Integer getEstablishConversationTimeout()
          Gets the establishConversationTimeout
 java.lang.Boolean getFlushMode()
          Gets the flushMode
 java.lang.Boolean getJmsPublish()
          Returns the _jmsPublish.
 java.io.PrintWriter getLogWriter()
          Returns LogWriter
 java.lang.String getLuName()
          Gets the getLuName
 java.lang.Boolean getManageResponses()
          Gets the menagesResponse
 java.lang.Boolean getOutgoing()
          Gets the outgoing
 java.lang.String getPassword()
          Returns the _userPassword.
 java.lang.String getPasswordJCA()
          Returns the _passwordJCA.
 java.lang.String getSymbolicDestinationName()
          Gets the symbolicDestinationName
 java.lang.Boolean getSynchronousMode()
          Gets the synchronousMode
 java.lang.Integer getTimeBetweenRetries()
          Gets the timeBetweenRetries
 java.lang.String getTpName()
          Gets the tpName
 java.lang.String getUserId()
          Returns the _userName.
 java.lang.String getUserNameJCA()
          Returns the _userNameJCA.
 int hashCode()
           
 javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet, javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
          This method selects the matching LU62ManagedConnection from the candidate set provided by the application server by comparing properties of the LU62ManagedConnection from the candidate set with the default values of the ManagedConnectionFactory properties.
 void setChaining(java.lang.Boolean chaining)
          Sets the chaining
 void setConfirmMode(java.lang.Boolean confirmMode)
          Sets the confirmMode
 void setEstablishConversationRetries(java.lang.Integer establishConversationRetries)
          Sets the establishConversationRetries
 void setEstablishConversationTimeout(java.lang.Integer establishConversationTimeout)
          Sets the establishConversationTimeout
 void setFlushMode(java.lang.Boolean flushMode)
          Sets the flushMode
 void setJmsPublish(java.lang.Boolean jmsPublish)
          Sets the _jmsPublish.
 void setLogWriter(java.io.PrintWriter out)
          Sets LogWriter
 void setLuName(java.lang.String luName)
          Sets setLuName
 void setManageResponses(java.lang.Boolean manageResponses)
          Sets the menagesResponse
 void setOutgoing(java.lang.Boolean outgoing)
          Sets the outgoing
 void setPassword(java.lang.String userPassword)
          Sets the _userPassword.
 void setPasswordJCA(java.lang.String password)
          Sets the _passwordJCA.
 void setSymbolicDestinationName(java.lang.String symbolicDestinationName)
          Sets the symbolicDestinationName
 void setSynchronousMode(java.lang.Boolean synchronousMode)
          Sets the synchronousMode
 void setTimeBetweenRetries(java.lang.Integer timeBetweenRetries)
          Sets the timeBetweenRetries
 void setTpName(java.lang.String tpName)
          Sets the tpName
 void setUserId(java.lang.String userName)
          Sets the _userName.
 void setUserNameJCA(java.lang.String userName)
          Sets the _userNameJCA.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lu62ManagedConnectionFactory

public Lu62ManagedConnectionFactory()
Method Detail

addLu62EventListner

public void addLu62EventListner(Lu62ConversationEventListener listener)

createConnectionFactory

public java.lang.Object createConnectionFactory()
                                         throws javax.resource.ResourceException
Creates an instance of com.ibm.connector.lu62.LU62ConnectionFactory

Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Returns:
java.lang.Object
Throws:
javax.resource.ResourceException

createConnectionFactory

public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
                                         throws javax.resource.ResourceException
Creates an instance of com.ibm.connector.lu62.LU62ConnectionFactory

Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Parameters:
connectionManager - javax.resource.spi.ConnectionManager
Returns:
java.lang.Object
Throws:
javax.resource.ResourceException

createManagedConnection

public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
                                                                    javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
                                                             throws javax.resource.ResourceException
Creates a new physical connection - LU6.2 Conversation

Specified by:
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactory
Parameters:
subject - javax.security.auth.Subject
connectionRequestInfo - javax.resource.spi.ConnectionRequestInfo
Throws:
javax.resource.ResourceException

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface javax.resource.spi.ManagedConnectionFactory

hashCode

public int hashCode()
Specified by:
hashCode in interface javax.resource.spi.ManagedConnectionFactory

getLogWriter

public java.io.PrintWriter getLogWriter()
Returns LogWriter

Specified by:
getLogWriter in interface javax.resource.spi.ManagedConnectionFactory
Returns:
java.io.PrintWriter

matchManagedConnections

public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet,
                                                                    javax.security.auth.Subject subject,
                                                                    javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
                                                             throws javax.resource.ResourceException
This method selects the matching LU62ManagedConnection from the candidate set provided by the application server by comparing properties of the LU62ManagedConnection from the candidate set with the default values of the ManagedConnectionFactory properties. If there is a match, the LU62ManagedConnection is returned to the caller, otherwise null is returned.

Specified by:
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactory
Parameters:
connectionSet - java.util.Set
subject - javax.security.auth.Subject
connectionRequestInfo - javax.resource.spi.ConnectionRequestInfo
Returns:
javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException

setLogWriter

public void setLogWriter(java.io.PrintWriter out)
Sets LogWriter

Specified by:
setLogWriter in interface javax.resource.spi.ManagedConnectionFactory
Parameters:
out - java.io.PrintWriter

getLuName

public java.lang.String getLuName()
Gets the getLuName

Returns:
Returns a String

setLuName

public void setLuName(java.lang.String luName)
               throws javax.resource.ResourceException
Sets setLuName

Parameters:
luName - The luName to set
Throws:
javax.resource.ResourceException

getOutgoing

public java.lang.Boolean getOutgoing()
Gets the outgoing

Returns:
Returns a Boolean

setOutgoing

public void setOutgoing(java.lang.Boolean outgoing)
Sets the outgoing

Parameters:
outgoing - The outgoing to set

getTpName

public java.lang.String getTpName()
Gets the tpName

Returns:
Returns a String

setTpName

public void setTpName(java.lang.String tpName)
               throws javax.resource.ResourceException
Sets the tpName

Parameters:
tpName - The tpName to set
Throws:
javax.resource.ResourceException

getSymbolicDestinationName

public java.lang.String getSymbolicDestinationName()
Gets the symbolicDestinationName

Returns:
Returns a String

setSymbolicDestinationName

public void setSymbolicDestinationName(java.lang.String symbolicDestinationName)
                                throws javax.resource.ResourceException
Sets the symbolicDestinationName

Parameters:
symbolicDestinationName - The symbolicDestinationName to set
Throws:
javax.resource.ResourceException

getManageResponses

public java.lang.Boolean getManageResponses()
Gets the menagesResponse

Returns:
Returns a Boolean

setManageResponses

public void setManageResponses(java.lang.Boolean manageResponses)
Sets the menagesResponse

Parameters:
manageResponses - The menagesResponse to set

getEstablishConversationRetries

public java.lang.Integer getEstablishConversationRetries()
Gets the establishConversationRetries

Returns:
Returns a Integer

setEstablishConversationRetries

public void setEstablishConversationRetries(java.lang.Integer establishConversationRetries)
Sets the establishConversationRetries

Parameters:
establishConversationRetries - The establishConversationRetries to set

getTimeBetweenRetries

public java.lang.Integer getTimeBetweenRetries()
Gets the timeBetweenRetries

Returns:
Returns a Integer

setTimeBetweenRetries

public void setTimeBetweenRetries(java.lang.Integer timeBetweenRetries)
Sets the timeBetweenRetries

Parameters:
timeBetweenRetries - The timeBetweenRetries to set

getFlushMode

public java.lang.Boolean getFlushMode()
Gets the flushMode

Returns:
Returns a Boolean

setFlushMode

public void setFlushMode(java.lang.Boolean flushMode)
Sets the flushMode

Parameters:
flushMode - The flushMode to set

getConfirmMode

public java.lang.Boolean getConfirmMode()
Gets the confirmMode

Returns:
Returns a Boolean

setConfirmMode

public void setConfirmMode(java.lang.Boolean confirmMode)
Sets the confirmMode

Parameters:
confirmMode - The confirmMode to set

getSynchronousMode

public java.lang.Boolean getSynchronousMode()
Gets the synchronousMode

Returns:
Returns a Boolean

setSynchronousMode

public void setSynchronousMode(java.lang.Boolean synchronousMode)
Sets the synchronousMode

Parameters:
synchronousMode - The synchronousMode to set

getChaining

public java.lang.Boolean getChaining()
Gets the chaining

Returns:
Returns a Boolean

setChaining

public void setChaining(java.lang.Boolean chaining)
Sets the chaining

Parameters:
chaining - The chaining to set

getEstablishConversationTimeout

public java.lang.Integer getEstablishConversationTimeout()
Gets the establishConversationTimeout

Returns:
Returns a Integer

setEstablishConversationTimeout

public void setEstablishConversationTimeout(java.lang.Integer establishConversationTimeout)
Sets the establishConversationTimeout

Parameters:
establishConversationTimeout - The establishConversationTimeout to set

getConfigurationProperties

public Lu62ConversationConfigurationProperties getConfigurationProperties()
Gets the configurationProperties

Returns:
Returns a Lu62ConversationConfigurationProperties

getJmsPublish

public java.lang.Boolean getJmsPublish()
Returns the _jmsPublish.

Returns:
boolean

setJmsPublish

public void setJmsPublish(java.lang.Boolean jmsPublish)
Sets the _jmsPublish.

Parameters:
jmsPublish - The _jmsPublish to set

getUserId

public java.lang.String getUserId()
Returns the _userName.

Returns:
String

setUserId

public void setUserId(java.lang.String userName)
Sets the _userName.

Parameters:
userName - The _userName to set

getPassword

public java.lang.String getPassword()
Returns the _userPassword.

Returns:
String

setPassword

public void setPassword(java.lang.String userPassword)
Sets the _userPassword.

Parameters:
userPassword - The _userPassword to set

getUserNameJCA

public java.lang.String getUserNameJCA()
Returns the _userNameJCA.

Returns:
String

setUserNameJCA

public void setUserNameJCA(java.lang.String userName)
Sets the _userNameJCA.

Parameters:
userName - The _userNameJCA to set

getPasswordJCA

public java.lang.String getPasswordJCA()
Returns the _passwordJCA.

Returns:
String

setPasswordJCA

public void setPasswordJCA(java.lang.String password)
Sets the _passwordJCA.

Parameters:
password - The _passwordJCA to set

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005