sambasivamkannan
Programmer
When we aggregate an object is it possible to expose only certain interfaces(as opposed to all interfaces) of the inner component? Consider this scenario:
The inner component has interfaces I1 and I2. The outer component wants to expose only I1(in addition to its own interfaces). But once I query for I1 and obtain its pointer, I can alway query(through I1) for I2 and obtain its pointer.This is because aggregation exposes the inner object's interfaces directly. Can anyone explain?
-S.Kannan
The inner component has interfaces I1 and I2. The outer component wants to expose only I1(in addition to its own interfaces). But once I query for I1 and obtain its pointer, I can alway query(through I1) for I2 and obtain its pointer.This is because aggregation exposes the inner object's interfaces directly. Can anyone explain?
-S.Kannan