public class Registry extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_ALLOW_DEPRECATED_REFERENCES
The xml tag for indicating if deprecated methods/properties s/b allowed.
|
static String |
TAG_ALLOW_ENTITY_QUERIES
The xml tag for indicating if Gosu query expressions can reference entities.
|
static String |
TAG_CLASS |
static String |
TAG_ENTRY |
static String |
TAG_SRC |
| Modifier and Type | Method and Description |
|---|---|
static void |
addLocationListener(ChangeListener l) |
List<TypeLoaderSpec> |
getAdditionalTypeLoaders() |
List<String> |
getClasspathEntries() |
String |
getCommonServiceInit() |
static void |
initDefaults()
/**
Initialize with defaults.
|
static Registry |
instance()
Get the singleton instance.
|
boolean |
isAllowDeprecatedReferences() |
boolean |
isAllowEntityQueires() |
static void |
removeLocationListener(ChangeListener l) |
void |
setAllowDeprecatedReferences(boolean bAllowDeprecatedReferences) |
void |
setAllowEntityQueires(boolean bAllowEntityQueires) |
void |
setCommonServiceInit(String commonServiceInit) |
static void |
setLocation(String kernelInitClass) |
static void |
setLocation(URL registryURL)
Sets the location of the registry file.
|
static void |
setLocation(URL registryURL,
String strCommonServicesInitDefault) |
void |
updateClasspath(List<String> classpath) |
public static final String TAG_ALLOW_DEPRECATED_REFERENCES
public static final String TAG_ALLOW_ENTITY_QUERIES
public static final String TAG_CLASS
public static final String TAG_SRC
public static final String TAG_ENTRY
public Registry(String kernelInitClass)
public static void initDefaults()
public static void setLocation(String kernelInitClass)
public static void setLocation(URL registryURL)
registryURL - public static void addLocationListener(ChangeListener l)
public static void removeLocationListener(ChangeListener l)
public static Registry instance()
public String getCommonServiceInit()
public void setCommonServiceInit(String commonServiceInit)
commonServiceInit - public List<TypeLoaderSpec> getAdditionalTypeLoaders()
public boolean isAllowDeprecatedReferences()
public void setAllowDeprecatedReferences(boolean bAllowDeprecatedReferences)
public boolean isAllowEntityQueires()
public void setAllowEntityQueires(boolean bAllowEntityQueires)
Copyright © 2020. All rights reserved.