Class DSLRuntimeModule

  • All Implemented Interfaces:
    com.google.inject.Module
    Direct Known Subclasses:
    IntegrityRunnerModule

    public class DSLRuntimeModule
    extends AbstractDSLRuntimeModule
    Use this class to register components to be used at runtime / without the Equinox extension registry.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Detail

      • DSLRuntimeModule

        public DSLRuntimeModule()
        Creates a new instance with the classloader of the current class as default.
      • DSLRuntimeModule

        public DSLRuntimeModule​(java.lang.ClassLoader aClassLoader)
        Creates a new instance using the given classloader.
        Parameters:
        aClassLoader -
    • Method Detail

      • bindIValueConverterService

        public java.lang.Class<? extends org.eclipse.xtext.conversion.IValueConverterService> bindIValueConverterService()
        Binds Xtext's own converters.
        Overrides:
        bindIValueConverterService in class org.eclipse.xtext.service.DefaultRuntimeModule
      • bindValueConverter

        public java.lang.Class<? extends ValueConverter> bindValueConverter()
        Bind the value converter.
      • bindParameterResolver

        public java.lang.Class<? extends ParameterResolver> bindParameterResolver()
        Bind the parameter resolver.
      • bindStandardOperationProcessor

        public java.lang.Class<? extends StandardOperationProcessor> bindStandardOperationProcessor()
        Bind the standard operation processor.
        Returns:
      • configureRuntimeEncodingProvider

        public void configureRuntimeEncodingProvider​(com.google.inject.Binder aBinder)
        Bind the encoding provider.
        Overrides:
        configureRuntimeEncodingProvider in class org.eclipse.xtext.service.DefaultRuntimeModule
      • bindIDefaultResourceDescriptionStrategy

        public java.lang.Class<? extends org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy> bindIDefaultResourceDescriptionStrategy()
        Binds the IDefaultResourceDescriptionStrategy.
        Returns:
      • bindIResourceClusteringPolicy

        public java.lang.Class<? extends org.eclipse.xtext.resource.clustering.IResourceClusteringPolicy> bindIResourceClusteringPolicy()
        Binds the IResourceClusteringPolicy. This dynamic policy improves memory behavior when dealing with large script sets.
        Returns: