com.ibm.websphere.samples.activitysessions.ASContainerSampleClient
Class ASContainerSampleClient

java.lang.Object
  extended by com.ibm.websphere.samples.activitysessions.ASContainerSampleClient.ASContainerSampleClient

public class ASContainerSampleClient
extends java.lang.Object

An ActivitySessions Sample. This client uses the UserActivitySession interface to begin and end ActivitySessions. It updates instances of the ASContainerManagedEJB inside ActivitySessions and verifies that the updates are committed when the ActivitySession is ended with EndModeCheckPoint and that they are rolled back when the ActivitySession is ended with EndModeReset.


Constructor Summary
ASContainerSampleClient()
          ASContainerSampleClient constructor.
 
Method Summary
 void function()
          The function method performs the all the work.
static void main(java.lang.String[] args)
          main method for this client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASContainerSampleClient

public ASContainerSampleClient()
ASContainerSampleClient constructor.

Method Detail

function

public void function()
The function method performs the all the work.


main

public static void main(java.lang.String[] args)
main method for this client. It does not use any parameters passed to it. It constructs an instance of the class and calls the function method.