All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fulib.fx.dagger.FrameworkComponent Maven / Gradle / Ivy

package org.fulib.fx.dagger;

import dagger.BindsInstance;
import dagger.Component;
import org.fulib.fx.FulibFxApp;
import org.fulib.fx.controller.AutoRefresher;
import org.fulib.fx.controller.ControllerManager;
import org.fulib.fx.controller.Router;
import org.jetbrains.annotations.ApiStatus;

import javax.inject.Singleton;

@Component()
@Singleton
@ApiStatus.Internal
public interface FrameworkComponent {

    @Singleton
    Router router();

    @Singleton
    FulibFxApp framework();

    @Singleton
    AutoRefresher autoRefresher();

    @Singleton
    ControllerManager controllerManager();

    @Component.Builder
    interface Builder {

        @BindsInstance
        Builder framework(FulibFxApp framework);

        FrameworkComponent build();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy