public class DefaultRuntimeCamelCatalog extends AbstractCamelCatalog implements RuntimeCamelCatalog
RuntimeCamelCatalog
.Constructor and Description |
---|
DefaultRuntimeCamelCatalog(CamelContext camelContext)
Creates the
RuntimeCamelCatalog without caching enabled. |
DefaultRuntimeCamelCatalog(CamelContext camelContext,
boolean caching)
Creates the
RuntimeCamelCatalog |
Modifier and Type | Method and Description |
---|---|
String |
componentJSonSchema(String name)
Returns the component information as JSon format.
|
String |
dataFormatJSonSchema(String name)
Returns the data format information as JSon format.
|
String |
languageJSonSchema(String name)
Returns the language information as JSon format.
|
String |
modelJSonSchema(String name)
Returns the model information as JSon format.
|
void |
start()
Starts the service
|
void |
stop()
Stops the service
|
asEndpointUri, asEndpointUri, asEndpointUriXml, asEndpointUriXml, endpointComponentName, endpointLenientProperties, endpointProperties, getJSonSchemaResolver, getSuggestionStrategy, setJSonSchemaResolver, setSuggestionStrategy, validateEndpointProperties, validateEndpointProperties, validateEndpointProperties, validateLanguageExpression, validateLanguagePredicate, validateProperties, validateSimpleExpression, validateSimpleExpression, validateSimplePredicate, validateSimplePredicate, validateTimePattern
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asEndpointUri, asEndpointUriXml, endpointComponentName, endpointLenientProperties, endpointProperties, getJSonSchemaResolver, setJSonSchemaResolver, validateEndpointProperties, validateEndpointProperties, validateEndpointProperties, validateLanguageExpression, validateLanguagePredicate, validateProperties, validateSimpleExpression, validateSimpleExpression, validateSimplePredicate, validateSimplePredicate, validateTimePattern
public DefaultRuntimeCamelCatalog(CamelContext camelContext)
RuntimeCamelCatalog
without caching enabled.camelContext
- the camel contextpublic DefaultRuntimeCamelCatalog(CamelContext camelContext, boolean caching)
RuntimeCamelCatalog
camelContext
- the camel contextcaching
- whether to use cachepublic void start() throws Exception
Service
public void stop() throws Exception
Service
public String modelJSonSchema(String name)
RuntimeCamelCatalog
modelJSonSchema
in interface RuntimeCamelCatalog
name
- the model namepublic String componentJSonSchema(String name)
RuntimeCamelCatalog
componentJSonSchema
in interface RuntimeCamelCatalog
name
- the component namepublic String dataFormatJSonSchema(String name)
RuntimeCamelCatalog
dataFormatJSonSchema
in interface RuntimeCamelCatalog
name
- the data format namepublic String languageJSonSchema(String name)
RuntimeCamelCatalog
languageJSonSchema
in interface RuntimeCamelCatalog
name
- the language nameApache Camel