This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// сейчас так | |
binding toProvider new CrudOperationsHandler( | |
classOf[AccountOperation[CrudResponse[AccountDto]]], | |
inject[DBConnection], | |
AccountMapper, | |
AccountStorage, | |
AccountUpdateActions.update, | |
getFieldNames[AccountFilter] | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ConfirmationCodeCleanTask2( | |
val connection: DBConnection, | |
val replyTo: ActorRef | |
) extends ActionActor | |
with RegistrationConfirmation | |
with ActorLogging { | |
override def awaitingStart: Receive = { | |
case ConfirmationCodeCleanTask2.Start => | |
val replyTo = sender() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ConfirmationCodeCleanTask( | |
val connection: DBConnection | |
) extends ServiceActor | |
with RegistrationConfirmation | |
with ActorLogging { | |
override def process: Receive = { | |
case ConfirmationCodeCleanTask.Start => | |
deleteExpired() | |
} |