org.apache.qpid.server
Class Main

java.lang.Object
  extended by org.apache.qpid.server.Main
All Implemented Interfaces:
org.apache.qpid.framing.ProtocolVersionList

public class Main
extends java.lang.Object
implements org.apache.qpid.framing.ProtocolVersionList

Main entry point for AMQPD.


Nested Class Summary
protected static class Main.InitException
           
 
Field Summary
protected  org.apache.commons.cli.CommandLine commandLine
           
protected  org.apache.commons.cli.Options options
           
 
Fields inherited from interface org.apache.qpid.framing.ProtocolVersionList
PROTOCOL_MAJOR, PROTOCOL_MINOR, pv
 
Constructor Summary
protected Main(java.lang.String[] args)
           
 
Method Summary
protected  void bind(int port, ConnectorConfiguration connectorConfig)
           
protected  void execute()
           
static void main(java.lang.String[] args)
           
protected  boolean parseCommandline(java.lang.String[] args)
           
protected  void setOptions(org.apache.commons.cli.Options options)
           
protected  void setupVirtualHosts(java.lang.String configFileParent, java.lang.String configFilePath)
           
protected  void startup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

options

protected final org.apache.commons.cli.Options options

commandLine

protected org.apache.commons.cli.CommandLine commandLine
Constructor Detail

Main

protected Main(java.lang.String[] args)
Method Detail

parseCommandline

protected boolean parseCommandline(java.lang.String[] args)

setOptions

protected void setOptions(org.apache.commons.cli.Options options)

execute

protected void execute()

startup

protected void startup()
                throws Main.InitException,
                       org.apache.commons.configuration.ConfigurationException,
                       java.lang.Exception
Throws:
Main.InitException
org.apache.commons.configuration.ConfigurationException
java.lang.Exception

setupVirtualHosts

protected void setupVirtualHosts(java.lang.String configFileParent,
                                 java.lang.String configFilePath)
                          throws org.apache.commons.configuration.ConfigurationException,
                                 org.apache.qpid.AMQException,
                                 org.apache.qpid.url.URLSyntaxException
Throws:
org.apache.commons.configuration.ConfigurationException
org.apache.qpid.AMQException
org.apache.qpid.url.URLSyntaxException

bind

protected void bind(int port,
                    ConnectorConfiguration connectorConfig)

main

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