--Setting Client Properties at connection establishment
1 post
• Page 1 of 1
--Setting Client Properties at connection establishment
This article is outdated - please use our new system at
https://doc.sibvisions.com
The use of Client/Server Properties has already been explained.
However, in some cases it may be beneficial if default values can be defined during the creation of a MasterConnection. This makes sense when, for example, client tasks are configured by the server.
A concrete example would be the distinction between productive and development mode or in addition, the default log level.
The application's config.xml can be used to predefine properties:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<application>
...
<connection>
<property name="client.loglevel">ALL</property>
<property name="client.mode">Development</property>
</connection>
</application>
Here it should be mentioned, that the usage of the properties has to be handled by the application (on Client).
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
1 post
• Page 1 of 1