add ExtendedActorSystem to shield ActorSystemImpl
- add provider, guardian, systemGuardian and deathWatch to it - make ActorSystemImpl extend ExtendedActorSystem - use ExtendedActorSystem for creating extensions, thereby limiting the access extensions get to just those four published methods.
This commit is contained in:
parent
ee5ae1068b
commit
d5c23bcb76
21 changed files with 85 additions and 56 deletions
|
|
@ -42,7 +42,7 @@ public class ExtensionDocTestBase {
|
|||
|
||||
//This method will be called by Akka
|
||||
// to instantiate our Extension
|
||||
public CountExtensionImpl createExtension(ActorSystemImpl system) {
|
||||
public CountExtensionImpl createExtension(ExtendedActorSystem system) {
|
||||
return new CountExtensionImpl();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue