xmlBlaster 2.2.0 contributions API

org.xmlBlaster.contrib.dbwatcher
Class Example

java.lang.Object
  extended by org.xmlBlaster.contrib.dbwatcher.Example

public class Example
extends java.lang.Object

Example code to run DbWatcher as a standalone application.

You can edit this file, change the configuration settings to your polling problem and play interactively with it.

Simple usage example:

java org.xmlBlaster.contrib.dbwatcher.Example -db.password secret

java -Djava.util.logging.config.file=testlog.properties org.xmlBlaster.contrib.dbwatcher.Example -alertScheduler.pollInterval 10000 -db.password secret

Author:
Marcel Ruff

Constructor Summary
Example()
           
 
Method Summary
static java.util.prefs.Preferences loadArgs(java.lang.String[] args)
          Parse command line arguments
static void main(java.lang.String[] args)
          Example code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Example

public Example()
Method Detail

main

public static void main(java.lang.String[] args)
Example code.

java -Djava.util.logging.config.file=testlog.properties org.xmlBlaster.contrib.dbwatcher.Example -alertScheduler.pollInterval 10000 -db.password secret

Parameters:
args - Command line

loadArgs

public static java.util.prefs.Preferences loadArgs(java.lang.String[] args)
Parse command line arguments

Parameters:
args - Command line
Returns:
Configuration

xmlBlaster 2.2.0 contributions API

Copyright © 1999-2014 The xmlBlaster.org contributers.