public class Main
extends org.apache.camel.main.MainSupport
| Modifier and Type | Field and Description |
|---|---|
protected static Main |
instance |
| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
protected org.osgi.framework.BundleContext |
createBundleContext() |
protected org.osgi.framework.BundleContext |
createBundleContext(String name) |
protected org.apache.camel.view.ModelFileGenerator |
createModelFileGenerator() |
protected void |
doStart() |
protected void |
doStop() |
protected org.apache.camel.ProducerTemplate |
findOrCreateCamelTemplate() |
String |
getBundleName() |
protected Map<String,org.apache.camel.CamelContext> |
getCamelContextMap() |
String |
getDescriptors() |
static Main |
getInstance()
Returns the currently executing main
|
boolean |
isIncludeSelfAsBundle() |
static void |
main(String... args) |
void |
setBundleName(String bundleName) |
void |
setDescriptors(String descriptors) |
void |
setIncludeSelfAsBundle(boolean includeSelfAsBundle) |
addOption, addRouteBuilder, afterStart, beforeStop, completed, enableHangupSupport, enableTrace, generateDot, getCamelContexts, getCamelTemplate, getDotOutputDir, getDuration, getRouteBuilderClasses, getRouteBuilders, getRouteDefinitions, getRoutesOutputFile, getTimeUnit, isAggregateDot, isTrace, loadRouteBuilders, outputRoutesToFile, parseArguments, postProcessCamelContext, postProcessContext, run, run, setAggregateDot, setDotOutputDir, setDuration, setRouteBuilderClasses, setRouteBuilders, setRoutesOutputFile, setTimeUnit, showOptions, showOptionsHeader, waitUntilCompletedprotected static Main instance
public static Main getInstance()
protected void doStart()
throws Exception
doStart in class org.apache.camel.main.MainSupportExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.main.MainSupportExceptionprotected org.apache.camel.ProducerTemplate findOrCreateCamelTemplate()
findOrCreateCamelTemplate in class org.apache.camel.main.MainSupportprotected org.osgi.framework.BundleContext createBundleContext()
throws Exception
Exceptionprotected org.osgi.framework.BundleContext createBundleContext(String name) throws Exception
Exceptionprotected Map<String,org.apache.camel.CamelContext> getCamelContextMap()
getCamelContextMap in class org.apache.camel.main.MainSupportprotected org.apache.camel.view.ModelFileGenerator createModelFileGenerator()
throws JAXBException
createModelFileGenerator in class org.apache.camel.main.MainSupportJAXBExceptionpublic String getDescriptors()
public void setDescriptors(String descriptors)
public String getBundleName()
public void setBundleName(String bundleName)
public boolean isIncludeSelfAsBundle()
public void setIncludeSelfAsBundle(boolean includeSelfAsBundle)
Apache Camel