Package gw.config

Class Registry


  • public class Registry
    extends Object
    • Constructor Detail

      • Registry

        public Registry​(String kernelInitClass)
    • Method Detail

      • 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 -
      • 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)