| author | Tomas Zeman <tomas@functionals.cz> |
| Tue, 24 Nov 2020 13:15:49 +0100 | |
| changeset 32 | 2d14f02ba3bd |
| parent 4 | 1a1347e8c5be |
| permissions | -rw-r--r-- |
|
32
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
1 |
/* |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
2 |
* Copyright 2018-2020 Tomas Zeman <tomas@functionals.cz> |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
3 |
* |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
5 |
* you may not use this file except in compliance with the License. |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
6 |
* You may obtain a copy of the License at |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
7 |
* |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
9 |
* |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
10 |
* Unless required by applicable law or agreed to in writing, software |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS, |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
13 |
* See the License for the specific language governing permissions and |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
14 |
* limitations under the License. |
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
15 |
*/ |
| 3 | 16 |
package sqwl.cms |
17 |
||
|
32
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
18 |
|
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
19 |
import akka.actor.typed.ActorSystem |
| 3 | 20 |
|
21 |
import scala.concurrent.ExecutionContextExecutor |
|
22 |
||
|
32
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
23 |
trait Service[T] {
|
|
2d14f02ba3bd
SQWL#2014 Server platform (component) upgrade
Tomas Zeman <tomas@functionals.cz>
parents:
4
diff
changeset
|
24 |
implicit val system: ActorSystem[T] |
| 3 | 25 |
implicit def executor: ExecutionContextExecutor |
26 |
} |