org.apache.uima.examples.as
Class RunRemoteAsyncAE

java.lang.Object
  extended by org.apache.uima.examples.as.RunRemoteAsyncAE

public class RunRemoteAsyncAE
extends java.lang.Object

Example application that calls a Remote Asynchronous Analysis Engine on a collection.

Arguments: brokerUrl endpoint [options] [-t Timeout] [-i]

This connects to a remote AE at specified brokerUrl and endpoint (which must match what is in the service's deployment descriptor. The following optional arguments are accepted:


Constructor Summary
RunRemoteAsyncAE(java.lang.String[] args)
          Constructor for the class.
 
Method Summary
static void main(java.lang.String[] args)
          main class.
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunRemoteAsyncAE

public RunRemoteAsyncAE(java.lang.String[] args)
                 throws java.lang.Exception
Constructor for the class. Parses command line arguments and sets the values of fields in this instance. If command line is invalid prints a message and calls System.exit().

Parameters:
args - command line arguments into the program - see class description
Throws:
java.lang.Exception
Method Detail

run

public void run()
         throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
main class.

Parameters:
args - Command line arguments - see class description
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.