Class ScriptRuntimeModule

java.lang.Object
org.eclipse.xtext.service.AbstractGenericModule
org.eclipse.xtext.service.DefaultRuntimeModule
org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule
org.eclipse.xtext.xbase.DefaultXbaseRuntimeModule
org.openhab.core.model.script.AbstractScriptRuntimeModule
org.openhab.core.model.script.ScriptRuntimeModule
All Implemented Interfaces:
com.google.inject.Module

public class ScriptRuntimeModule extends AbstractScriptRuntimeModule
Use this class to register components to be used at runtime / without the Equinox extension registry.
Author:
Oliver Libutzki - Initial contribution
  • Constructor Details

    • ScriptRuntimeModule

      public ScriptRuntimeModule()
  • Method Details

    • bindImplicitlyImportedTypes

      public Class<? extends org.eclipse.xtext.xbase.scoping.batch.ImplicitlyImportedFeatures> bindImplicitlyImportedTypes()
    • bindITypeComputer

      public Class<? extends org.eclipse.xtext.xbase.typesystem.computation.ITypeComputer> bindITypeComputer()
    • configureRuntimeEncodingProvider

      public void configureRuntimeEncodingProvider(com.google.inject.Binder binder)
      Overrides:
      configureRuntimeEncodingProvider in class org.eclipse.xtext.service.DefaultRuntimeModule
    • bindIExpressionInterpreter

      public Class<? extends org.eclipse.xtext.xbase.interpreter.IExpressionInterpreter> bindIExpressionInterpreter()
      Overrides:
      bindIExpressionInterpreter in class org.eclipse.xtext.xbase.DefaultXbaseRuntimeModule
    • bindIGenerator

      public Class<? extends org.eclipse.xtext.generator.IGenerator> bindIGenerator()
      Overrides:
      bindIGenerator in class org.eclipse.xtext.xbase.DefaultXbaseRuntimeModule
    • configureIScopeProviderDelegate

      public void configureIScopeProviderDelegate(com.google.inject.Binder binder)
      Overrides:
      configureIScopeProviderDelegate in class AbstractScriptRuntimeModule
    • bindIJvmTypeProvider$Factory

      public Class<? extends org.eclipse.xtext.common.types.access.IJvmTypeProvider.Factory> bindIJvmTypeProvider$Factory()
      Overrides:
      bindIJvmTypeProvider$Factory in class org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule
    • bindAbstractTypeScopeProvider

      public Class<? extends org.eclipse.xtext.common.types.xtext.AbstractTypeScopeProvider> bindAbstractTypeScopeProvider()
      Overrides:
      bindAbstractTypeScopeProvider in class org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule
    • bindClassLoaderToInstance

      public ClassLoader bindClassLoaderToInstance()
      Overrides:
      bindClassLoaderToInstance in class AbstractScriptRuntimeModule
    • configureUseIndexFragmentsForLazyLinking

      public void configureUseIndexFragmentsForLazyLinking(com.google.inject.Binder binder)
      Overrides:
      configureUseIndexFragmentsForLazyLinking in class org.eclipse.xtext.service.DefaultRuntimeModule