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

public.javadoc.org.spincast.core.guice.SpincastPlugin.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






SpincastPlugin (org.spincast:spincast-framework 1.0.0 API)












org.spincast.core.guice

Interface SpincastPlugin

    • Method Detail

      • getId

        String getId()
        The id of the plugin.
      • apply

        com.google.inject.Module apply(com.google.inject.Module currentModule)
        Applies the plugin.

        The plugin can add bindings to the current Guice module, can modify it and can inspect it in order to decide what to bind or not.

        Returns:
        an ajusted Guice module.
      • getPluginsToDisable

        Set<String> getPluginsToDisable()
        If required, the ids of plugins that shouldn't be installed.

        This plugin is repsonsible to bind any components that won't be bound because it mark some plugins as to be ignored.

      • createdGuiceInjector

        void createdGuiceInjector(com.google.inject.Injector injector)
        Once all the plugins have been applied, this method is called with the resulting Guice injector.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy