Class SimpleClassLoaderProvider

  • All Implemented Interfaces:
    IClassLoaderProvider

    public class SimpleClassLoaderProvider
    extends java.lang.Object
    implements IClassLoaderProvider
    Generic classloader implementation - returns the base classloader. If using an environment with multiple classloaders, this provider should not be used.
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleClassLoaderProvider

        public SimpleClassLoaderProvider()
    • Method Detail

      • getClassLoader

        public java.lang.ClassLoader getClassLoader​(org.eclipse.emf.ecore.EObject ctx)
        Description copied from interface: IClassLoaderProvider
        Finds the class loader usable for interpreting expressions defined inside the context object, e.g. a pattern.
        Specified by:
        getClassLoader in interface IClassLoaderProvider
        Returns:
        the found classloader, never null