| 49 | } |
| 50 | |
| 51 | void Host::CreateChildObjects(const Type::Ptr& childType) |
| 52 | { |
| 53 | if (childType == ScheduledDowntime::TypeInstance) |
| 54 | ScheduledDowntime::EvaluateApplyRules(this); |
| 55 | |
| 56 | if (childType == Notification::TypeInstance) |
| 57 | Notification::EvaluateApplyRules(this); |
| 58 | |
| 59 | if (childType == Dependency::TypeInstance) |
| 60 | Dependency::EvaluateApplyRules(this); |
| 61 | |
| 62 | if (childType == Service::TypeInstance) |
| 63 | Service::EvaluateApplyRules(this); |
| 64 | } |
| 65 | |
| 66 | void Host::Stop(bool runtimeRemoved) |
| 67 | { |