org.apache.activemq.console
Class Main
java.lang.Object
org.apache.activemq.console.Main
public class Main
- extends 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 String TASK_DEFAULT_CLASS
- See Also:
- Constant Field Values
Main
public Main()
main
public static void main(String[] args)
parseExtensions
public void parseExtensions(List<String> tokens)
runTaskClass
public void runTaskClass(List<String> tokens)
throws Throwable
- Throws:
Throwable
addExtensionDirectory
public void addExtensionDirectory(File directory)
addClassPathList
public void addClassPathList(String fileList)
addClassPath
public void addClassPath(File classpath)
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:
- true, if extension dir can be used. false otherwise.
getClassLoader
public ClassLoader getClassLoader()
throws MalformedURLException
- Throws:
MalformedURLException
setActiveMQHome
public void setActiveMQHome(File activeMQHome)
getActiveMQHome
public File getActiveMQHome()
getActiveMQBase
public File getActiveMQBase()
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.