Making register and unregister of ActorRegistry private

This commit is contained in:
Viktor Klang 2010-11-18 16:46:24 +01:00
parent d2c9da0b88
commit 0e9aa2d655

View file

@ -237,7 +237,7 @@ object ActorRegistry extends ListenerManagement {
/**
* Registers an actor in the ActorRegistry.
*/
def register(actor: ActorRef) = {
private[akka] def register(actor: ActorRef) = {
// ID
actorsById.put(actor.id, actor)
@ -251,7 +251,7 @@ object ActorRegistry extends ListenerManagement {
/**
* Unregisters an actor in the ActorRegistry.
*/
def unregister(actor: ActorRef) = {
private[akka] def unregister(actor: ActorRef) = {
actorsByUUID remove actor.uuid
actorsById.remove(actor.id,actor)