|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.spring.Main
public class Main
A command line tool for booting up a CamelContext using an optional Spring ApplicationContext
Nested Class Summary | |
---|---|
class |
Main.Option
|
class |
Main.ParameterOption
|
Constructor Summary | |
---|---|
Main()
|
Method Summary | |
---|---|
void |
addOption(Main.Option option)
|
void |
completed()
Marks this process as being completed |
protected org.springframework.context.support.AbstractApplicationContext |
createDefaultApplicationContext()
|
protected void |
doStart()
|
protected void |
doStop()
|
org.springframework.context.support.AbstractApplicationContext |
getApplicationContext()
|
String |
getApplicationContextUri()
|
protected String |
getVersion()
|
static void |
main(String[] args)
|
void |
parseArguments(String[] arguments)
Parses the commandl ine arguments |
void |
run()
Runs this process with the given arguments |
void |
run(String[] args)
Parses the command line arguments then runs the program |
void |
setApplicationContext(org.springframework.context.support.AbstractApplicationContext applicationContext)
|
void |
setApplicationContextUri(String applicationContextUri)
|
void |
showOptions()
Displays the command line options |
protected void |
waitUntilCompleted()
|
Methods inherited from class org.apache.camel.impl.ServiceSupport |
---|
addChildService, getThreadName, isStarted, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Main()
Method Detail |
---|
public static void main(String[] args)
public void run(String[] args)
public void run()
public void completed()
public void showOptions()
public void parseArguments(String[] arguments)
public void addOption(Main.Option option)
public org.springframework.context.support.AbstractApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.support.AbstractApplicationContext applicationContext)
public String getApplicationContextUri()
public void setApplicationContextUri(String applicationContextUri)
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.ServiceSupport
Exception
protected org.springframework.context.support.AbstractApplicationContext createDefaultApplicationContext()
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.ServiceSupport
Exception
protected void waitUntilCompleted()
protected String getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |