Adding a Java API to EventBus and adding tests for the Java configurations

This commit is contained in:
Viktor Klang 2011-10-12 11:46:49 +02:00
parent 5318763e52
commit d34e3d69ec
3 changed files with 118 additions and 30 deletions

View file

@ -1,9 +1,19 @@
package akka.event
package akka.event.japi
/*
* Created by IntelliJ IDEA.
* User: viktorklang
* Date: 10/12/11
* Time: 9:14 AM
*/
public scala class { }
import akka.event._
abstract class LookupEventBus[E, S, C] extends EventBus with LookupClassification {
type Event = E
type Subscriber = S
type Classifier = C
}
abstract class ScanningEventBus[E, S, C] extends EventBus with ScanningClassification {
type Event = E
type Subscriber = S
type Classifier = C
}
abstract class ActorEventBus[E] extends akka.event.ActorEventBus with ActorClassification with ActorClassifier {
}