Modify RCSBundleInfo API, make constructor and destructor of the container protected.
authorMinji Park <minjii.park@samsung.com>
Fri, 18 Sep 2015 05:44:50 +0000 (14:44 +0900)
committerMadan Lanka <lanka.madan@samsung.com>
Fri, 18 Sep 2015 12:22:26 +0000 (12:22 +0000)
commit2dc72e34b97714e66f37102b717a0227ab69e3a2
tree214ccd627c6b5362fb7d63499cd5a6efdca3aa61
parentcbbba8973023236d911927788c60d6f66cad0f83
Modify RCSBundleInfo API, make constructor and destructor of the container protected.

- remove RCSBundleInfo APIs to build bundleinfo and set bundle information, since bundleinfo only can be created and set only by the container internally
- make constructor and destructor of the container protected to make container exists as singleton

Change-Id: I677ec510f046a3f5b7d2be584c0d42a915d17082
Signed-off-by: Minji Park <minjii.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2671
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
service/resource-encapsulation/include/RCSBundleInfo.h
service/resource-encapsulation/include/RCSResourceContainer.h
service/resource-encapsulation/src/resourceContainer/bundle-api/include/ResourceContainerBundleAPI.h
service/resource-encapsulation/src/resourceContainer/examples/ContainerSample.cpp
service/resource-encapsulation/src/resourceContainer/examples/ResourceContainerConfig.xml
service/resource-encapsulation/src/resourceContainer/include/ResourceContainerImpl.h
service/resource-encapsulation/src/resourceContainer/src/RCSBundleInfo.cpp
service/resource-encapsulation/src/resourceContainer/src/ResourceContainerImpl.cpp
service/resource-encapsulation/src/resourceContainer/unittests/ResourceContainerTest.cpp