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

kos.config.YamlPluginInjectorFactory Maven / Gradle / Ivy

There is a newer version: 0.8.8
Show newest version
package kos.config;

import injector.*;

@javax.annotation.processing.Generated("injector.apt.InjectorProcessor")
public class YamlPluginInjectorFactory implements Factory {

    volatile private YamlPlugin instance;

    public YamlPlugin create(Injector context, Class targetClass) {
        if ( instance == null )
            synchronized (this) {
                if ( instance == null )
                    instance = newInstance( context );
            }
        return instance;
    }

    public Class getExposedType() {
        return YamlPlugin.class;
    }

    private YamlPlugin newInstance(Injector context){
        return new YamlPlugin(
        );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy