4.2. ServiceContext

The ServiceContext object is passed to the DBEService while initialized. It contains many information related to the service as:

By means the ServiceContext it is also possible to access to specific parameters needed by the service. These parameters can be written in the deployment.props file.

ServiceContext can be used also to get some other needed service deployed within the DBE network. The getService method can be used to retrieve any well known service proxy. If the service is not deployed null will be returned.