control: Get property from cache and add objects
Add the ability to get a property from the cached set of dbus objects.
In the case that the property is not found in the cache, objects can be
added using the getManagedObjects method to retrieve all objects for a
given service. The service for the missing dbus object is attempted to
be retrieved from the cached set of services (and added if not cached),
then the path where the ObjectManager interface exists for the service
is determined so the getManagedObjects method call can be made. In the
case that the ObjectManager interface is not present on the service, the
individual dbus object is cached from dbus directly.
Change-Id: I3ddcf34cfba906ef3d78a755dec96a91971bc27f
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2 files changed