SysLib.getResource function

SysLib.getResource returns an object that is based on a specific entry in an EGL deployment descriptor.

Package

eglx.lang

Syntax
	static function getResource(bindingkey string const in)
                 returns(any);

static function getResource(bindingkey string const in, 
                            propertyFileName string const in)
                returns(any);
bindingKey
Name of an entry in an EGL deployment descriptor.
propertyFileName

Name of the EGL deployment descriptor, without a file extension. The name of the file that is accessed at run time includes the following suffix: -bind.xml.

If you do not specify a propertyFileName argument, its value is the name of the EGL deployment descriptor that is currently in use, whether the development deployment descriptor or the one used at deployment time.

Example use
Here is an example:
myService MyInterfacePart?;
myService = SysLib.getResource ("MyEnglishBinding", "myDeploymentDescriptor");
Comments
For further details, see Binding an access variable dynamically.

Compatibility

Table 1. Compatibility
Target Issue
Java No issues.
JavaScript No issues.