com.bigdata.service.jini.util
Class ListServices

java.lang.Object
  extended by com.bigdata.service.jini.util.ListServices

public class ListServices
extends Object

Utility will list the discovered services in federation to which it connects.

Version:
$Id$
Author:
Bryan Thompson

Field Summary
protected static String COMPONENT
           
 
Constructor Summary
ListServices()
           
 
Method Summary
static void main(String[] args)
          Lists the discovered services.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT

protected static final String COMPONENT
Constructor Detail

ListServices

public ListServices()
Method Detail

main

public static void main(String[] args)
                 throws InterruptedException,
                        net.jini.config.ConfigurationException,
                        IOException,
                        ExecutionException
Lists the discovered services.

Configuration options use COMPONENT as their namespace. The following options are defined:

discoveryDelay
The time in milliseconds to wait for service discovery before proceeding.
showServiceItems
When true the ServiceItem will be written out for each discovered service (default false).
repeatCount
The #of times to repeat the discovery process and list the discovered services before terminating (default 1). When ZERO (0), the utility will repeatedly discover and list the discovered processes until killed.

Parameters:
args - Configuration file and optional overrides.
Throws:
net.jini.config.ConfigurationException
InterruptedException
ExecutionException
IOException


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.