Class GroovyLanguageWithResettableCache

java.lang.Object
org.apache.camel.support.LanguageSupport
org.apache.camel.support.TypedLanguageSupport
org.apache.camel.language.groovy.GroovyLanguage
org.qubership.integration.platform.engine.service.externallibrary.GroovyLanguageWithResettableCache
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.IsSingleton, org.apache.camel.spi.HasCamelContext, org.apache.camel.spi.Language, org.apache.camel.spi.ScriptingLanguage

@Component("groovy") public class GroovyLanguageWithResettableCache extends org.apache.camel.language.groovy.GroovyLanguage
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.camel.language.groovy.GroovyLanguage

    org.apache.camel.language.groovy.GroovyLanguage.Builder
  • Field Summary

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

    RESOURCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addScriptToCache(String key, Class<groovy.lang.Script> scriptClass)
     
    void
     
    void
     

    Methods inherited from class org.apache.camel.language.groovy.GroovyLanguage

    createExpression, createPredicate, evaluate, groovy

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

    createExpression

    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.spi.Language

    createPredicate
  • Constructor Details

    • GroovyLanguageWithResettableCache

      public GroovyLanguageWithResettableCache()
  • Method Details

    • resetScriptCache

      public void resetScriptCache()
    • addScriptToCache

      public void addScriptToCache(String key, Class<groovy.lang.Script> scriptClass)
    • onExternalLibrariesUpdated

      @EventListener public void onExternalLibrariesUpdated(ExternalLibrariesUpdatedEvent event)