org.opends.server.tools
Class ListBackends

java.lang.Object
  extended by org.opends.server.tools.ListBackends

public class ListBackends
extends java.lang.Object

This program provides a utility that may be used to list the backends in the server, as well as to determine which backend holds a given entry.


Constructor Summary
ListBackends()
           
 
Method Summary
static int listBackends(java.lang.String[] args)
          Parses the provided command-line arguments and uses that information to list the backend information.
static int listBackends(java.lang.String[] args, boolean initializeServer, java.io.OutputStream outStream, java.io.OutputStream errStream)
          Parses the provided command-line arguments and uses that information to list the backend information.
static void main(java.lang.String[] args)
          Parses the provided command-line arguments and uses that information to list the backend information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListBackends

public ListBackends()
Method Detail

main

public static void main(java.lang.String[] args)
Parses the provided command-line arguments and uses that information to list the backend information.

Parameters:
args - The command-line arguments provided to this program.

listBackends

public static int listBackends(java.lang.String[] args)
Parses the provided command-line arguments and uses that information to list the backend information.

Parameters:
args - The command-line arguments provided to this program.
Returns:
A return code indicating whether the processing was successful.

listBackends

public static int listBackends(java.lang.String[] args,
                               boolean initializeServer,
                               java.io.OutputStream outStream,
                               java.io.OutputStream errStream)
Parses the provided command-line arguments and uses that information to list the backend information.

Parameters:
args - The command-line arguments provided to this program.
initializeServer - Indicates whether to initialize the server.
outStream - The output stream to use for standard output, or null if standard output is not needed.
errStream - The output stream to use for standard error, or null if standard error is not needed.
Returns:
A return code indicating whether the processing was successful.