ControllerFactory.java

/**
 * Copyright (c) 2018 European Organisation for Nuclear Research (CERN), All Rights Reserved.
 */

package org.minifx.fxmlloading.factories.impl;

import javafx.util.Callback;

public interface ControllerFactory extends Callback<Class<?>, Object> {

    public static SingleControllerFactory fromController(Object controller) {
        return new SingleControllerFactory(controller);
    }

}