Got API in place now and RemoteServer/Client/Node etc purged. Need to get test-compile to work so I can start testing the new stuff...
This commit is contained in:
parent
74f5445708
commit
5f651c73ba
16 changed files with 837 additions and 844 deletions
|
|
@ -17,7 +17,7 @@ trait BootableRemoteActorService extends Bootable with Logging {
|
|||
self: BootableActorLoaderService =>
|
||||
|
||||
protected lazy val remoteServerThread = new Thread(new Runnable() {
|
||||
import ReflectiveAccess.RemoteServerModule.{HOSTNAME,PORT}
|
||||
import ReflectiveAccess.Remote.{HOSTNAME,PORT}
|
||||
def run = ActorRegistry.remote.start(HOSTNAME,PORT,loader = self.applicationLoader)
|
||||
}, "Akka Remote Service")
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ trait BootableRemoteActorService extends Bootable with Logging {
|
|||
|
||||
abstract override def onUnload = {
|
||||
log.slf4j.info("Shutting down Remote Actors Service")
|
||||
RemoteNode.shutdown
|
||||
ActorRegistry.remote.shutdown
|
||||
if (remoteServerThread.isAlive) remoteServerThread.join(1000)
|
||||
log.slf4j.info("Remote Actors Service has been shut down")
|
||||
super.onUnload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue