Last active
August 5, 2017 13:51
-
-
Save machielg/91d027d0fd7e569e49f4884b51172661 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import io.crystalline.jigsaw.client.Client; | |
import io.crystalline.jigsaw.repo.SimpleCustomerRepository; | |
public class Application { | |
public static void main(String[] args) { | |
SimpleCustomerRepository repo = new SimpleCustomerRepository(); | |
Client client = new Client(repo); | |
client.demonstrate(); | |
} | |
} |
This file contains hidden or 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
module io.crystalline.jigsaw.app { | |
requires io.crystalline.jigsaw.client; | |
requires io.crystalline.jigsaw.repo; | |
} | |
module io.crystalline.jigsaw.client { | |
exports io.crystalline.jigsaw.client; | |
requires io.crystalline.jigsaw.client.needs; | |
} | |
module io.crystalline.jigsaw.client.needs { | |
exports io.crystalline.jigsaw.client.needs; | |
} | |
module io.crystalline.jigsaw.repo { | |
exports io.crystalline.jigsaw.repo; | |
requires io.crystalline.jigsaw.client.needs; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment