|
IBM Bank 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.Lu62Work
public class Lu62Work
The Lu62Work class is the main class that interacts with the underlying LU62Converstion class and perform message delivery. It makes use of the work management feature of JCA1.5 that acts as thread listening for the incoming message. It also is responsible for delivering the incoming message to MDB message endpoint. Each Lu62Work instance maps to a LU62Converstion and a combination of MessageEndPointFactory and the Lu62ActivationSpec instance.
Nested Class Summary | |
---|---|
class |
Lu62Work.Lu62ConversationEventHandler
Eeven handler for Lu62 Conversation |
Field Summary | |
---|---|
(package private) Lu62Conversation |
_lu62Conversation
|
(package private) Semaphore |
attemptIntervalSemphore
|
(package private) Lu62ActivationSpec |
lu62ActivSpec
|
(package private) javax.resource.spi.endpoint.MessageEndpointFactory |
mef
|
Constructor Summary | |
---|---|
Lu62Work(javax.resource.spi.endpoint.MessageEndpointFactory mef,
javax.resource.spi.ActivationSpec activSpec)
Constructor of Lu62Work |
Method Summary | |
---|---|
java.lang.String |
getClassID()
get the class instance ID |
Lu62Work.Lu62ConversationEventHandler |
getLu62ConversationEventHandler()
Get the Lu62ConversationEventHandler |
Lu62XAResource |
getLu62XAResource()
get the Lu62XAResource the LU62 work contains |
(package private) boolean |
isRunning()
|
void |
release()
|
void |
run()
Run body of work to establish session for incoming message |
(package private) void |
setRunning(boolean running)
|
void |
stopWork()
stop the work and terminate the conversation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
javax.resource.spi.endpoint.MessageEndpointFactory mef
Lu62ActivationSpec lu62ActivSpec
Lu62Conversation _lu62Conversation
Semaphore attemptIntervalSemphore
Constructor Detail |
---|
public Lu62Work(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.ActivationSpec activSpec)
mef
- activSpec
- Method Detail |
---|
final boolean isRunning()
final void setRunning(boolean running)
public void release()
release
in interface javax.resource.spi.work.Work
public void run()
run
in interface java.lang.Runnable
public void stopWork()
public Lu62XAResource getLu62XAResource()
public Lu62Work.Lu62ConversationEventHandler getLu62ConversationEventHandler()
public java.lang.String getClassID()
|
IBM Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |