| 367 | } |
| 368 | |
| 369 | void ConfigObject::Activate(bool runtimeCreated, const Value& cookie) |
| 370 | { |
| 371 | CONTEXT("Activating object '" << GetName() << "' of type '" << GetReflectionType()->GetName() << "'"); |
| 372 | |
| 373 | { |
| 374 | ObjectLock olock(this); |
| 375 | |
| 376 | Start(runtimeCreated); |
| 377 | |
| 378 | ASSERT(GetStartCalled()); |
| 379 | |
| 380 | if (GetHAMode() == HARunEverywhere) |
| 381 | SetAuthority(true); |
| 382 | } |
| 383 | |
| 384 | NotifyActive(cookie); |
| 385 | } |
| 386 | |
| 387 | void ConfigObject::Stop(bool runtimeRemoved) |
| 388 | { |