Package gw.config
Class Registry
java.lang.Object
gw.config.Registry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic void/** Initialize with defaults.static Registryinstance()Get the singleton instance.booleanbooleanstatic voidvoidsetAllowDeprecatedReferences(boolean bAllowDeprecatedReferences) voidsetAllowEntityQueires(boolean bAllowEntityQueires) voidsetCommonServiceInit(String commonServiceInit) static voidsetLocation(String kernelInitClass) static voidsetLocation(URL registryURL) Sets the location of the registry file.static voidsetLocation(URL registryURL, String strCommonServicesInitDefault) voidupdateClasspath(List<String> classpath)
-
Field Details
-
TAG_ALLOW_DEPRECATED_REFERENCES
The xml tag for indicating if deprecated methods/properties s/b allowed.- See Also:
-
TAG_ALLOW_ENTITY_QUERIES
The xml tag for indicating if Gosu query expressions can reference entities.- See Also:
-
TAG_CLASS
- See Also:
-
TAG_SRC
- See Also:
-
TAG_ENTRY
- See Also:
-
-
Constructor Details
-
Registry
-
-
Method Details
-
initDefaults
public static void initDefaults()/** Initialize with defaults. Guidewire applications should NEVER call this. -
setLocation
-
setLocation
Sets the location of the registry file. Initializes singleton registry.- Parameters:
registryURL-
-
setLocation
-
addLocationListener
-
removeLocationListener
-
instance
Get the singleton instance.- Returns:
- The one and only Registry.
-
getCommonServiceInit
- Returns:
-
setCommonServiceInit
- Parameters:
commonServiceInit-
-
getAdditionalTypeLoaders
-
getClasspathEntries
-
isAllowDeprecatedReferences
public boolean isAllowDeprecatedReferences()- Returns:
-
setAllowDeprecatedReferences
public void setAllowDeprecatedReferences(boolean bAllowDeprecatedReferences) -
isAllowEntityQueires
public boolean isAllowEntityQueires()- Returns:
-
setAllowEntityQueires
public void setAllowEntityQueires(boolean bAllowEntityQueires) -
updateClasspath
-