Created
December 28, 2014 14:20
-
-
Save ivanursul/7b78e07f2b584cc0a585 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
| package org.ivanursul.guice; | |
| import org.ivanursul.guice.application.DefaultApplication; | |
| import org.ivanursul.guice.injector.AppInjector; | |
| import com.google.inject.Guice; | |
| import com.google.inject.Injector; | |
| public class ClientApplication { | |
| public static void main(final String[] args) { | |
| Injector injector = Guice.createInjector(new AppInjector()); | |
| DefaultApplication app = injector.getInstance(DefaultApplication.class); | |
| app.sendNotification("Hi, Ivan", "[email protected]"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment