Class SimpleLanguage

java.lang.Object
org.apache.camel.support.LanguageSupport
org.apache.camel.language.simple.SimpleLanguage
All Implemented Interfaces:
AutoCloseable, org.apache.camel.CamelContextAware, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.spi.HasCamelContext, org.apache.camel.spi.Language, org.apache.camel.StaticService
Direct Known Subclasses:
FileLanguage

@Language(value="simple", functionsClass=SimpleConstants.class) public class SimpleLanguage extends org.apache.camel.support.LanguageSupport implements org.apache.camel.StaticService
The Camel simple language.
  • Field Summary

    Fields inherited from class org.apache.camel.support.LanguageSupport

    RESOURCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.camel.Expression
     
    org.apache.camel.Expression
    createExpression(String expression, Class<?> resultType)
     
    org.apache.camel.Expression
    createExpression(String expression, Object[] properties)
     
    org.apache.camel.Predicate
    createPredicate(String expression)
     
    org.apache.camel.Predicate
    createPredicate(String expression, Object[] properties)
     
    void
     
    void
     
    void
     

    Methods inherited from class org.apache.camel.support.LanguageSupport

    getCamelContext, hasSimpleFunction, isDynamicResource, isSingleton, isStaticResource, loadResource, property, setCamelContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.camel.Service

    build, close
  • Constructor Details

    • SimpleLanguage

      public SimpleLanguage()
      Default constructor.
  • Method Details

    • init

      public void init()
      Specified by:
      init in interface org.apache.camel.Service
    • start

      public void start()
      Specified by:
      start in interface org.apache.camel.Service
    • stop

      public void stop()
      Specified by:
      stop in interface org.apache.camel.Service
    • createPredicate

      public org.apache.camel.Predicate createPredicate(String expression)
      Specified by:
      createPredicate in interface org.apache.camel.spi.Language
    • createPredicate

      public org.apache.camel.Predicate createPredicate(String expression, Object[] properties)
      Specified by:
      createPredicate in interface org.apache.camel.spi.Language
    • createExpression

      public org.apache.camel.Expression createExpression(String expression, Object[] properties)
      Specified by:
      createExpression in interface org.apache.camel.spi.Language
    • createExpression

      public org.apache.camel.Expression createExpression(String expression)
      Specified by:
      createExpression in interface org.apache.camel.spi.Language
    • createExpression

      public org.apache.camel.Expression createExpression(String expression, Class<?> resultType)