Package org.apache.camel.k.support
Class DelegatingRuntime
java.lang.Object
org.apache.camel.k.support.DelegatingRuntime
- All Implemented Interfaces:
AutoCloseable
,Runtime
,org.apache.camel.spi.HasCamelContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.k.Runtime
Runtime.Listener, Runtime.Phase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRoutes
(org.apache.camel.RoutesBuilder builder) void
close()
org.apache.camel.CamelContext
org.apache.camel.ExtendedCamelContext
org.apache.camel.spi.Registry
void
setProperties
(String key, String value, String... keyVals) void
setProperties
(Map<String, String> properties) void
setProperties
(Properties properties) void
stop()
-
Constructor Details
-
DelegatingRuntime
-
-
Method Details
-
getExtendedCamelContext
public org.apache.camel.ExtendedCamelContext getExtendedCamelContext()- Specified by:
getExtendedCamelContext
in interfaceRuntime
-
getRegistry
public org.apache.camel.spi.Registry getRegistry()- Specified by:
getRegistry
in interfaceRuntime
-
setProperties
- Specified by:
setProperties
in interfaceRuntime
-
setProperties
- Specified by:
setProperties
in interfaceRuntime
-
setProperties
- Specified by:
setProperties
in interfaceRuntime
-
addRoutes
public void addRoutes(org.apache.camel.RoutesBuilder builder) -
stop
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceRuntime
- Throws:
Exception
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()- Specified by:
getCamelContext
in interfaceorg.apache.camel.spi.HasCamelContext
-