Class RulesJavaReflectAccess

java.lang.Object
org.eclipse.xtext.common.types.util.JavaReflectAccess
org.openhab.core.model.rule.scoping.RulesJavaReflectAccess

public class RulesJavaReflectAccess extends org.eclipse.xtext.common.types.util.JavaReflectAccess
This is a customized version of JavaReflectAccess. It allows for removing and updating classes in the cache used by the RulesClassFinder when add-ons are installed or updated.
Author:
Wouter Born - Initial contribution
  • Constructor Details

    • RulesJavaReflectAccess

      public RulesJavaReflectAccess()
  • Method Details

    • setClassLoader

      @Inject(optional=true) public void setClassLoader(ClassLoader classLoader)
      Overrides:
      setClassLoader in class org.eclipse.xtext.common.types.util.JavaReflectAccess
    • getClassFinder

      public org.eclipse.xtext.common.types.access.impl.ClassFinder getClassFinder()
      Overrides:
      getClassFinder in class org.eclipse.xtext.common.types.util.JavaReflectAccess