org.apache.jackrabbit.standalone.cli
Class CommandLineFactory

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.CommandLineFactory

public class CommandLineFactory
extends Object

Command line factory


Method Summary
 CommandLine getCommandLine(String name)
          Get the Command for the given name
 Collection getCommandLines()
           
static CommandLineFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CommandLineFactory getInstance()
Returns:
singleton

getCommandLines

public Collection getCommandLines()
Returns:
all registered Command s

getCommandLine

public CommandLine getCommandLine(String name)
                           throws JcrParserException
Get the Command for the given name

Parameters:
name - the Command name
Returns:
a new Command Line Instance for the given command name
Throws:
JcrParserException - if there's no Command for the given name


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.