samples/componentinjection/anagram-modular/src-app-serviceloader/org/apidesign/anagram/app/serviceloader/Main.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 30 Oct 2014 21:30:10 +0100
changeset 409 40cabcdcd2be
permissions -rw-r--r--
Updating to NBMs from NetBeans 8.0.1 as some of them are required to run on JDK8
jtulach@240
     1
package org.apidesign.anagram.app.serviceloader;
jtulach@240
     2
jtulach@240
     3
import org.apidesign.anagram.api.UI;
jtulach@240
     4
jtulach@240
     5
public final class Main {
jtulach@240
     6
    private Main() { }
jtulach@240
     7
    
jtulach@240
     8
    public static void main(String[] args) throws Exception {
jtulach@240
     9
        UI ui = new AnagramsWithServiceLoader();
jtulach@240
    10
        ui.display();
jtulach@240
    11
    }
jtulach@240
    12
}