org.apache.activemq.console
Class Main
java.lang.Object
org.apache.activemq.console.Main
public class Main
- extends java.lang.Object
Main class that can bootstrap an ActiveMQ broker console. Handles command line
argument parsing to set up and run broker tasks.
- Version:
- $Revision$
Constructor Summary |
Main()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TASK_DEFAULT_CLASS
public static final java.lang.String TASK_DEFAULT_CLASS
- See Also:
- Constant Field Values
Main
public Main()
main
public static void main(java.lang.String[] args)
parseExtensions
public void parseExtensions(java.util.List tokens)
runTaskClass
public void runTaskClass(java.util.List tokens)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
addExtensionDirectory
public void addExtensionDirectory(java.io.File directory)
canUseExtdir
public boolean canUseExtdir()
- The extension directory feature will not work if the broker factory is already in the classpath
since we have to load him from a child ClassLoader we build for it to work correctly.
- Returns:
getClassLoader
public java.lang.ClassLoader getClassLoader()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
setActiveMQHome
public void setActiveMQHome(java.io.File activeMQHome)
getActiveMQHome
public java.io.File getActiveMQHome()
getActiveMQBase
public java.io.File getActiveMQBase()
Copyright © 2010 Apache Software Foundation. All Rights Reserved.