blob: dd949c26a26bbb9c633d740aa646ee189017255a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package cake.services
trait HasApplication {
type ApplicationType
val application: ApplicationType with IApplication
trait IApplication {
def run (): Unit
}
}
trait HasDatabase {
type DatabaseType
val database: DatabaseType with IDatabase
trait IDatabase extends cake.database.Database
}
trait HasLogger {
type LoggerType
val logger: LoggerType with ILogger
trait ILogger extends cake.logger.Logger
}
|