Resources.getResource returns an object that is external to your code. At this writing, the object is always based on a binding entry that is defined in an EGL deployment descriptor.
eglx.lang
static function getResource(uri string const in) returns(any);
binding:DDEntry binding:filePath#DD_entry
If you specify only DDEntry, the referenced file is the one that is currently in use. At development time, the one currently in use is identified in the following project property: Development Deployment Descriptor. At deployment time, the referenced deployment descriptor is the one that you deploy.
myService MyInterfacePart?; myService = Resources.getResource("binding:MyEnglishBinding");
For further details on the EGL technology, see Resource bindings.
Target | Issue |
---|---|
Java | No issues. |
JavaScript | No issues. |