Last active
December 16, 2015 03:38
-
-
Save edewit/5370857 to your computer and use it in GitHub Desktop.
Example use of the Errai AeroGear Wrappers
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
Pipe<Project> pipe = new PipeFactory().createPipe(Project.class, new Config("project")); | |
pipe.read(new DefaultCallback<List<Project>>() { | |
@Override | |
public void onSuccess(List<Project> result) { | |
System.out.println("All the projects... " + result); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment