Package gw.config

Class Registry

java.lang.Object
gw.config.Registry

public class Registry extends Object
  • Field Details

  • Constructor Details

    • Registry

      public Registry(String kernelInitClass)
  • Method Details

    • initDefaults

      public static void initDefaults()
      /** Initialize with defaults. Guidewire applications should NEVER call this.
    • setLocation

      public static void setLocation(String kernelInitClass)
    • setLocation

      public static void setLocation(URL registryURL)
      Sets the location of the registry file. Initializes singleton registry.
      Parameters:
      registryURL -
    • setLocation

      public static void setLocation(URL registryURL, String strCommonServicesInitDefault)
    • addLocationListener

      public static void addLocationListener(ChangeListener l)
    • removeLocationListener

      public static void removeLocationListener(ChangeListener l)
    • instance

      public static Registry instance()
      Get the singleton instance.
      Returns:
      The one and only Registry.
    • getCommonServiceInit

      public String getCommonServiceInit()
      Returns:
    • setCommonServiceInit

      public void setCommonServiceInit(String commonServiceInit)
      Parameters:
      commonServiceInit -
    • getAdditionalTypeLoaders

      public List<TypeLoaderSpec> getAdditionalTypeLoaders()
    • getClasspathEntries

      public List<String> getClasspathEntries()
    • isAllowDeprecatedReferences

      public boolean isAllowDeprecatedReferences()
      Returns:
    • setAllowDeprecatedReferences

      public void setAllowDeprecatedReferences(boolean bAllowDeprecatedReferences)
    • isAllowEntityQueires

      public boolean isAllowEntityQueires()
      Returns:
    • setAllowEntityQueires

      public void setAllowEntityQueires(boolean bAllowEntityQueires)
    • updateClasspath

      public void updateClasspath(List<String> classpath)