com.ibm.events.samples.purge
Class SampleEventPurge

java.lang.Object
  extended by com.ibm.events.samples.purge.SampleEventPurge

public class SampleEventPurge
extends java.lang.Object

This class provides sample code for an event purge.


Constructor Summary
SampleEventPurge()
          Construct the sample event purge
 
Method Summary
 void displayUsage()
          Display the command line usage for this sample.
static void main(java.lang.String[] args)
          Main method that will take command line arguments and run the event purge
 void run()
          Run the sample event purge
 void setProviderUrl(java.lang.String providerUrl)
          Set the JNDI URL provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleEventPurge

public SampleEventPurge()
Construct the sample event purge

Method Detail

main

public static void main(java.lang.String[] args)
Main method that will take command line arguments and run the event purge

Parameters:
args - Array arguments passed from the command line

setProviderUrl

public void setProviderUrl(java.lang.String providerUrl)
Set the JNDI URL provider.

Parameters:
providerUrl - The JNDI URL provider

displayUsage

public void displayUsage()
Display the command line usage for this sample.


run

public void run()
Run the sample event purge