org.apache.camel.spring.javaconfig
Class Main

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.MainSupport
          extended by org.apache.camel.spring.Main
              extended by org.apache.camel.spring.javaconfig.Main
All Implemented Interfaces:
Service

public class Main
extends Main

The Main class which takes the spring java config parameter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.camel.impl.MainSupport
MainSupport.Option, MainSupport.ParameterOption
 
Field Summary
 
Fields inherited from class org.apache.camel.spring.Main
instance
 
Fields inherited from class org.apache.camel.impl.MainSupport
dotOutputDir, LOG
 
Constructor Summary
Main()
           
 
Method Summary
protected  AbstractApplicationContext createDefaultApplicationContext()
           
 String getBasedPackages()
           
 String getConfigClassesString()
           
static void main(String... args)
           
 void setBasedPackages(String config)
           
 void setConfigClassesString(String config)
           
 
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, completed, enableTrace, generateDot, getCamelContexts, getCamelTemplate, getDotOutputDir, getDuration, getRouteBuilders, getRouteDefinitions, getRoutesOutputFile, getTimeUnit, isAggregateDot, isTrace, outputRoutesToFile, parseArguments, postProcesCamelContext, postProcessContext, run, run, setAggregateDot, setDotOutputDir, setDuration, setRouteBuilders, setRoutesOutputFile, setTimeUnit, showOptions, showOptionsHeader, waitUntilCompleted
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

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.