Interface IClassLoaderProvider
-
- All Known Implementing Classes:
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 Description java.lang.ClassLoader
getClassLoader(org.eclipse.emf.ecore.EObject ctx)
Finds the class loader usable for interpreting expressions defined inside the context object, e.g.
-
-
-
Method Detail
-
getClassLoader
java.lang.ClassLoader getClassLoader(org.eclipse.emf.ecore.EObject ctx)
Finds the class loader usable for interpreting expressions defined inside the context object, e.g. a pattern.- Parameters:
pattern
-- Returns:
- the found classloader, never null
- Throws:
ViatraQueryRuntimeException
- if no classloader is found, or classloader cannot be initialized, an exception is thrown- Since:
- 1.7
-
-