|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.karaf.commands.internal.CamelControllerImpl
public class CamelControllerImpl
Implementation of CamelController
.
Constructor Summary | |
---|---|
CamelControllerImpl()
|
Method Summary | |
---|---|
org.apache.camel.CamelContext |
getCamelContext(String name)
Get a Camel context identified by the given name. |
List<org.apache.camel.CamelContext> |
getCamelContexts()
Get the list of Camel context. |
org.apache.camel.Route |
getRoute(String routeId,
String camelContextName)
Return the route with the given route ID. |
org.apache.camel.model.RouteDefinition |
getRouteDefinition(String routeId,
String camelContextName)
Return the definition of a route identified by a ID and a Camel context. |
List<org.apache.camel.model.RouteDefinition> |
getRouteDefinitions(String camelContextName)
Get all route definitions. |
List<org.apache.camel.Route> |
getRoutes(String camelContextName)
Get all routes. |
List<org.apache.camel.Route> |
getRoutes(String camelContextName,
String filter)
Get all routes filtered by the regex. |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CamelControllerImpl()
Method Detail |
---|
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public List<org.apache.camel.CamelContext> getCamelContexts()
CamelController
getCamelContexts
in interface CamelController
public org.apache.camel.CamelContext getCamelContext(String name)
CamelController
getCamelContext
in interface CamelController
name
- the Camel context name.
public List<org.apache.camel.Route> getRoutes(String camelContextName)
CamelController
getRoutes
in interface CamelController
camelContextName
- the Camel context name. If null, all contexts are considered.
public List<org.apache.camel.Route> getRoutes(String camelContextName, String filter)
CamelController
getRoutes
in interface CamelController
camelContextName
- the Camel context name. If null, all contexts are considered.filter
- the filter which supports * and ? as wildcards
public List<org.apache.camel.model.RouteDefinition> getRouteDefinitions(String camelContextName)
CamelController
getRouteDefinitions
in interface CamelController
camelContextName
- the Camel context name. If null, all contexts are considered.
public org.apache.camel.Route getRoute(String routeId, String camelContextName)
CamelController
getRoute
in interface CamelController
routeId
- the route ID.camelContextName
- the Camel context name.
public org.apache.camel.model.RouteDefinition getRouteDefinition(String routeId, String camelContextName)
CamelController
getRouteDefinition
in interface CamelController
routeId
- the route ID.camelContextName
- the Camel context.
RouteDefinition
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |