public abstract class LanguageSupport extends Object implements Language, IsSingleton, CamelContextAware
Language implementations.| Constructor and Description |
|---|
LanguageSupport() |
| Modifier and Type | Method and Description |
|---|---|
CamelContext |
getCamelContext()
Get the
CamelContext |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
protected String |
loadResource(String expression)
Loads the resource if the given expression is referring to an external resource by using
the syntax resource:scheme:uri.
|
void |
setCamelContext(CamelContext camelContext)
Injects the
CamelContext |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateExpression, createPredicatepublic static final String RESOURCE
public CamelContext getCamelContext()
CamelContextAwareCamelContextgetCamelContext in interface CamelContextAwarepublic void setCamelContext(CamelContext camelContext)
CamelContextAwareCamelContextsetCamelContext in interface CamelContextAwarecamelContext - the Camel contextpublic boolean isSingleton()
IsSingletonisSingleton in interface IsSingletonprotected String loadResource(String expression) throws ExpressionIllegalSyntaxException
expression - the expressionExpressionIllegalSyntaxException - is thrown if error loading the resourceApache Camel