org.apache.camel.spring.javaconfig
Class Main
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.MainSupport
org.apache.camel.spring.Main
org.apache.camel.spring.javaconfig.Main
- All Implemented Interfaces:
- Service, ShutdownableService
public class Main
- extends Main
The Main class which takes the spring java config parameter
| Fields inherited from class org.apache.camel.spring.Main |
instance |
|
Constructor Summary |
Main()
|
| Methods inherited from class org.apache.camel.spring.Main |
createModelFileGenerator, doStart, doStop, enableHangupSupport, findOrCreateCamelTemplate, getApplicationContext, getApplicationContextUri, getCamelContextMap, getFileApplicationContextUri, getInstance, getParentApplicationContext, getParentApplicationContextUri, setApplicationContext, setApplicationContextUri, setFileApplicationContextUri, setParentApplicationContext, setParentApplicationContextUri |
| Methods inherited from class org.apache.camel.impl.MainSupport |
addOption, addRouteBuilder, afterStart, beforeStop, completed, enableTrace, generateDot, getCamelContexts, getCamelTemplate, getDotOutputDir, getDuration, getRouteBuilders, getRouteDefinitions, getRoutesOutputFile, getTimeUnit, isAggregateDot, isTrace, outputRoutesToFile, parseArguments, postProcessCamelContext, postProcessContext, run, run, setAggregateDot, setDotOutputDir, setDuration, setRouteBuilders, setRoutesOutputFile, setTimeUnit, showOptions, showOptionsHeader, waitUntilCompleted |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
main
public static void main(String... args)
throws Exception
- Throws:
Exception
setBasedPackages
public void setBasedPackages(String config)
getBasedPackages
public String getBasedPackages()
setConfigClassesString
public void setConfigClassesString(String config)
getConfigClassesString
public String getConfigClassesString()
createDefaultApplicationContext
protected AbstractApplicationContext createDefaultApplicationContext()
- Overrides:
createDefaultApplicationContext in class Main
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.