org.apache.camel.spring.model
Class CamelContextType

java.lang.Object
  extended by org.apache.camel.spring.model.CamelContextType

public class CamelContextType
extends Object

Represents an XML <camelContext/> element

Version:
$Revision: $

Constructor Summary
CamelContextType()
           
 
Method Summary
 List<RouteType> getRoutes()
          A list of routes
 RouteType route()
           
 void setRoutes(List<RouteType> routes)
          Sets the routes to use
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CamelContextType

public CamelContextType()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getRoutes

public List<RouteType> getRoutes()
A list of routes

Returns:

setRoutes

public void setRoutes(List<RouteType> routes)
Sets the routes to use

Parameters:
routes -

route

public RouteType route()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.