-
Key: DDSJAVA-1
-
Legacy Issue Number: 15966
-
Status: closed
-
Source: ZettaScale Technology ( Angelo Corsaro, PhD.)
-
Summary:
ISSUE
The newly introduced XML Based Policy configuration adds new methods in the core DDS entities that allow to fetch QoS from XML filers. This solution is not ideal since if generalized, e.g. QoS configuration from an URI, JSON stream, etc., would lead to an explosion of the core DDS API.The suggestion is to remove the added methods from the core API and use instead a Builder pattern (of some form).
A sketch of the suggested change is provided below:
PolicyBuilder builder = PolicyBuilder::load("XMLBuilder");
TopicQos tqos = builder.topic_qos(file_name, profile_name);
==============================================================================
Notice that the suggested approach allows to easily extend the supported format for QoS representation w/o any impact on the core DDS API and overall facilitate the support for multiple approaches.
-
Reported: DDS-Java 1.0b1 — Mon, 17 Jan 2011 05:00 GMT
-
Disposition: Resolved — DDS-Java 1.0b2
-
Disposition Summary:
The suggestion is to remove the added methods from the core API and use instead a Builder pattern (of some form).
A sketch of the suggested change is provided below:
PolicyBuilder builder = PolicyBuilder::load("XMLBuilder");
TopicQos tqos = builder.topic_qos(file_name, profile_name);
Notice that the suggested approach allows to easily extend the supported format for QoS representation w/o any impact on the core DDS API and overall facilitate the support for multiple approaches -
Updated: Fri, 6 Mar 2015 20:58 GMT
DDSJAVA — XML-Based QoS Policy Settings (DDS-PSM-Cxx/DDS-PSM-Java)
- Key: DDSJAVA-1
- OMG Task Force: Java 5 Language PSM for DDS 1.0 FTF