|
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.btt.samples.business.sna.lu0.DummyLu0Work
public class DummyLu0Work
The DummyLu0Work 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 DummyLu0Work instance maps to a LU62Converstion and a combination of MessageEndPointFactory and the DummyLu0ActivationSpec instance.
Nested Class Summary | |
---|---|
class |
DummyLu0Work.DummyLu0ConversationEventHandler
Eeven handler for DummyLu0 Conversation |
Field Summary | |
---|---|
(package private) DummyLu0ActivationSpec |
lu62ActivSpec
|
(package private) javax.resource.spi.endpoint.MessageEndpointFactory |
mef
|
Constructor Summary | |
---|---|
DummyLu0Work(javax.resource.spi.endpoint.MessageEndpointFactory mef,
javax.resource.spi.ActivationSpec activSpec)
Constructor of DummyLu0Work |
Method Summary | |
---|---|
java.lang.String |
getClassID()
get the class instance ID |
DummyLu0Work.DummyLu0ConversationEventHandler |
getDummyLu0ConversationEventHandler()
Get the DummyLu0ConversationEventHandler |
DummyLu0XAResource |
getDummyLu0XAResource()
get the DummyLu0XAResource the LU62 work contains |
void |
release()
|
void |
releaseEndpoint(javax.resource.spi.endpoint.MessageEndpoint endPoint,
boolean transacted)
Completes the Message delivery and release the MessageEndpoint. |
void |
run()
|
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
DummyLu0ActivationSpec lu62ActivSpec
Constructor Detail |
---|
public DummyLu0Work(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.ActivationSpec activSpec)
mef
- activSpec
- Method Detail |
---|
public void releaseEndpoint(javax.resource.spi.endpoint.MessageEndpoint endPoint, boolean transacted)
public void release()
release
in interface javax.resource.spi.work.Work
public DummyLu0XAResource getDummyLu0XAResource()
public DummyLu0Work.DummyLu0ConversationEventHandler getDummyLu0ConversationEventHandler()
public java.lang.String getClassID()
public void run()
run
in interface java.lang.Runnable
|
IBM Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |