org.apache.qpid.server
Class Main
java.lang.Object
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.
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
options
protected final org.apache.commons.cli.Options options
commandLine
protected org.apache.commons.cli.CommandLine commandLine
Main
protected Main(java.lang.String[] args)
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)