Package com.cathive.fx.cdi.spi

Examples of com.cathive.fx.cdi.spi.CDILoader


        final ServiceLoader<CDILoader> serviceLoader = ServiceLoader.load(CDILoader.class);
        final Iterator<CDILoader> loaderIterator = serviceLoader.iterator();
        if (!loaderIterator.hasNext()) {
            throw new IllegalStateException("No CDI Loader implementation for JavaFX could be found on your classpath.");
        }
        final CDILoader loader = loaderIterator.next();
        if (loaderIterator.hasNext()) {
            throw new IllegalStateException("More than one CDI Loader implementation for JavaFX could be found on your classpath.");
        }
        this.fxCdiLoader = loader;
View Full Code Here

TOP

Related Classes of com.cathive.fx.cdi.spi.CDILoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.