org.apache.camel.impl
Class DefaultRouteStartupOrder

java.lang.Object
  extended by org.apache.camel.impl.DefaultRouteStartupOrder
All Implemented Interfaces:
RouteStartupOrder

public class DefaultRouteStartupOrder
extends Object
implements RouteStartupOrder

Default implementation of RouteStartupOrder.

Version:

Constructor Summary
DefaultRouteStartupOrder(int startupOrder, Route route, RouteService routeService)
           
 
Method Summary
 List<Consumer> getInputs()
          Gets the input to this route (often only one consumer)
 Route getRoute()
          Gets the route
 RouteService getRouteService()
           
 List<Service> getServices()
          Gets the services to this route.
 int getStartupOrder()
          Get the order this route should be started.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultRouteStartupOrder

public DefaultRouteStartupOrder(int startupOrder,
                                Route route,
                                RouteService routeService)
Method Detail

getStartupOrder

public int getStartupOrder()
Description copied from interface: RouteStartupOrder
Get the order this route should be started.

See more at configuring route startup ordering.

Specified by:
getStartupOrder in interface RouteStartupOrder
Returns:
the order

getRoute

public Route getRoute()
Description copied from interface: RouteStartupOrder
Gets the route

Specified by:
getRoute in interface RouteStartupOrder
Returns:
the route

getInputs

public List<Consumer> getInputs()
Description copied from interface: RouteStartupOrder
Gets the input to this route (often only one consumer)

Specified by:
getInputs in interface RouteStartupOrder
Returns:
the input consumers.

getServices

public List<Service> getServices()
Description copied from interface: RouteStartupOrder
Gets the services to this route.

Specified by:
getServices in interface RouteStartupOrder
Returns:
the services.

getRouteService

public RouteService getRouteService()

toString

public String toString()
Overrides:
toString in class Object


Apache CAMEL