This repository has been archived by the owner on Jun 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Akka 2.5.7 introduced the following incompatible changes in the Java-API - ReceiveBuilder: - explicit create step required - builds `AbstractActor.Receive` instead of `Actor.Receive` - Match.match: Changes in type parameters To adjust to these changes the Java-API of Eventuate is streamlined and mirrors the new Akka Java-API by removing all `setOn...`-methods used to defined the actor's behavior and replaces these methods with `createOn...`-variants which can be used to define custom behavior by returning the behavior definition wrapped in an instance of `AbstractActor.Receive`. New Java-specific accessor methods are introduced to access the properties of any event-sourced component with the Java-API. `AbstractEventsourcedProcessor` supports behavior definition by overriding the `createOnProcess` method which facilitates a Java-specific `Process` type to define custom behavior. The `ProcessBuilder` may be used to create instances of type `Process`. A Java-specific `BehaviorContext` is added to the Java-API of al all event-sourced components which can be retrieved by calling `getContext()`.
- Loading branch information
Christoph Stumpf
authored
Nov 28, 2017
1 parent
4d6624a
commit e41743c
Showing
23 changed files
with
709 additions
and
441 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.