org.apache.camel.impl
Class DefaultRouteStartupOrder

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

public class DefaultRouteStartupOrder
extends java.lang.Object
implements RouteStartupOrder

Default implementation of RouteStartupOrder.

Version:

Constructor Summary
DefaultRouteStartupOrder(int startupOrder, Route route, RouteService routeService)
           
 
Method Summary
 java.util.List<Consumer> getInputs()
          Gets the input to this route (often only one consumer)
 Route getRoute()
          Gets the route
 RouteService getRouteService()
           
 int getStartupOrder()
          Get the order this route should be started.
 java.lang.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 java.util.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.

getRouteService

public RouteService getRouteService()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Apache CAMEL