Declaring an access variable to access a remote EGL or native service

When you declare an access variable to access a remote EGL or native service, you must indicate that the binding detail needed for service access is in the service-client binding section of the EGL deployment descriptor. You can indicate the relationship of the variable and descriptor by adding the @BindService property to the access variable.
This example shows a variable declaration:
myService MyServicePart {@BindService{bindingKey="MyServicePart"}};

The @BindService property has one field:

bindingKey
Identifies the deployment-descriptor entry that includes the binding details.
You can specify @BindService without specifying the bindingKey field, in which case the property identifies the deployment-descriptor entry that has the same name as the Service or Interface part that is used in the variable declaration. Here is an example of that usage, which refers to the deployment-descriptor entry named MyServicePart:
MyService MyServicePart {@BindService{}};

Feedback