org.eclipse.viatra.query.patternlanguage.emf.util

## Interface IClassLoaderProvider

- All Known Implementing Classes:
    JavaProjectClassLoaderProvider, SimpleClassLoaderProvider

      public interface IClassLoaderProvider

  Returns the corresponding class loader for the selected patterns.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.ClassLoader` | `getClassLoader(Pattern pattern)` Finds the class loader usable for interpreting expressions defined inside the pattern.

- - ### Method Detail

    - #### getClassLoader

          java.lang.ClassLoader getClassLoader(Pattern pattern)
                                        throws ViatraQueryException

      Finds the class loader usable for interpreting expressions defined inside the pattern.
      Parameters:
        `pattern` -
      Returns:
        the found classloader, never null
      Throws:
        `ViatraQueryException` - if no classloader is found, or classloader cannot be initialized, an exception is thrown