|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.connector2.sna.lu62.Lu62ManagedConnection
Object representing physical connection to the partner program.
Nested Class Summary | |
---|---|
class |
Lu62ManagedConnection.Lu62ConversationEventHandler
|
Constructor Summary | |
---|---|
Lu62ManagedConnection(Lu62ManagedConnectionFactory connectionFactory,
Lu62ConversationConfigurationProperties configurationProperties)
Lu62ManagedConnection constructor |
Method Summary | |
---|---|
void |
addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
Adds a connection event listener to the ManagedConnection instance |
void |
addLu62EventListner(Lu62ConversationEventListener listener)
|
void |
associateConnection(java.lang.Object handle)
Used by the container to change the association of an application-level connection handle with a ManagedConneciton instance |
protected boolean |
call(Lu62Connection currentConnection,
javax.resource.cci.InteractionSpec interactionSpec,
javax.resource.cci.Record input,
javax.resource.cci.Record output)
Executes EIS interaction |
void |
cleanup()
Application server calls this method to force any cleanup on the ManagedConnection instance |
protected void |
close(Lu62Connection connectionHandle)
Closes current application level handle |
(package private) void |
closeConnection(Lu62Connection lu62Connection)
|
void |
destroy()
Destroys the physical connection to the underlying resource manager |
boolean |
equals(java.lang.Object obj)
|
(package private) void |
fireEvent(int i,
javax.resource.cci.Connection connection)
|
Lu62ConversationConfigurationProperties |
getConfigurationProperties()
Gets the configurationProperties |
java.lang.Object |
getConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo requestInfo)
Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance |
Lu62ManagedConnectionFactory |
getConnectionFactory()
Returns a Lu62ManagedConnectionFactory instance associated with the Lu62ManagedConnection |
java.lang.Boolean |
getConversationClosed()
Gets the conversationClosed indicator |
java.lang.Boolean |
getConversationEstablished()
Gets the conversationEstablished indicator |
javax.resource.spi.LocalTransaction |
getLocalTransaction()
Returns an LocalTransaction instance that enables a component to demarcate resource manager local transactions on the Connection |
java.io.PrintWriter |
getLogWriter()
Returns LogWriter |
javax.resource.spi.ManagedConnectionMetaData |
getMetaData()
Gets the metadata information for this connection's underlying EIS resource manager instance |
javax.resource.spi.security.PasswordCredential |
getPasswordCredential()
Gets the passwordCredential |
java.lang.String |
getUserName()
Gets the userName |
javax.transaction.xa.XAResource |
getXAResource()
Returns an javax.transaction.xa.XAresource instance |
boolean |
hasActiveConnectionHandle()
returns true if ManagedConnection has active application level connection handle |
int |
hashCode()
|
(package private) void |
removeConnection(Lu62Connection lu62Connection)
|
void |
removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
Removes an already registered connection event listener from the ManagedConnection instance |
void |
setConnectionFactory(Lu62ManagedConnectionFactory connectionFactory)
Sets a Lu62ManagedConnectionFactory instance associated with the Lu62ManagedConnection |
void |
setLogWriter(java.io.PrintWriter out)
Sets LogWriter |
void |
setUserName(java.lang.String userName)
Sets the userName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Lu62ManagedConnection(Lu62ManagedConnectionFactory connectionFactory, Lu62ConversationConfigurationProperties configurationProperties) throws javax.resource.ResourceException
connectionFactory
- javax.resource.spi.ManagedConnectionFactoryconfigurationProperties
- com.ibm.connector2.sna.lu62.host.Lu62ConversationConfigurationPropertiesMethod Detail |
public void addLu62EventListner(Lu62ConversationEventListener listener)
public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
addConnectionEventListener
in interface javax.resource.spi.ManagedConnection
listener
- javax.resource.spi.ConnectionEventListenerpublic void associateConnection(java.lang.Object handle) throws javax.resource.ResourceException
associateConnection
in interface javax.resource.spi.ManagedConnection
handle
- java.lang.Object
javax.resource.ResourceException
public void cleanup() throws javax.resource.ResourceException
cleanup
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
protected boolean call(Lu62Connection currentConnection, javax.resource.cci.InteractionSpec interactionSpec, javax.resource.cci.Record input, javax.resource.cci.Record output) throws javax.resource.ResourceException
currentConnection
- com.ibm.connector2.sna.lu62.Lu62ConnectioninteractionSpec
- javax.resource.cci.InteractionSpecinput
- javax.resource.cci.Recordoutput
- javax.resource.cci.Record
javax.resource.ResourceException
protected void close(Lu62Connection connectionHandle)
connectionHandle
- com.ibm.connector2.sna.lu62.Lu62Connectionvoid closeConnection(Lu62Connection lu62Connection) throws javax.resource.ResourceException
javax.resource.ResourceException
void removeConnection(Lu62Connection lu62Connection) throws javax.resource.ResourceException
javax.resource.ResourceException
void fireEvent(int i, javax.resource.cci.Connection connection)
public void destroy() throws javax.resource.ResourceException
destroy
in interface javax.resource.spi.ManagedConnection
javax.resource.ResourceException
public java.lang.Object getConnection(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo requestInfo) throws javax.resource.ResourceException
getConnection
in interface javax.resource.spi.ManagedConnection
subject
- javax.security.auth.SubjectrequestInfo
- javax.resource.spi.ConnectionRequestInfo
javax.resource.ResourceException
public boolean hasActiveConnectionHandle()
public javax.resource.spi.LocalTransaction getLocalTransaction() throws javax.resource.ResourceException
getLocalTransaction
in interface javax.resource.spi.ManagedConnection
javax.resource.NotSupportedException
javax.resource.ResourceException
public java.io.PrintWriter getLogWriter()
getLogWriter
in interface javax.resource.spi.ManagedConnection
public javax.resource.spi.ManagedConnectionMetaData getMetaData() throws javax.resource.ResourceException
getMetaData
in interface javax.resource.spi.ManagedConnection
javax.resource.NotSupportedException
javax.resource.ResourceException
public javax.transaction.xa.XAResource getXAResource() throws javax.resource.ResourceException
getXAResource
in interface javax.resource.spi.ManagedConnection
javax.resource.NotSupportedException
javax.resource.ResourceException
public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
removeConnectionEventListener
in interface javax.resource.spi.ManagedConnection
listener
- javax.resource.spi.ConnectionEventListenerpublic void setLogWriter(java.io.PrintWriter out)
setLogWriter
in interface javax.resource.spi.ManagedConnection
out
- java.io.PrintWriterpublic java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName
- public Lu62ManagedConnectionFactory getConnectionFactory()
public void setConnectionFactory(Lu62ManagedConnectionFactory connectionFactory)
connectionFactory
- com.ibm.connector2.sna.lu62.Lu62ManagedConnectionFactorypublic javax.resource.spi.security.PasswordCredential getPasswordCredential()
public int hashCode()
public boolean equals(java.lang.Object obj)
public Lu62ConversationConfigurationProperties getConfigurationProperties()
public java.lang.Boolean getConversationClosed()
public java.lang.Boolean getConversationEstablished()
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |