kos.config.YamlPluginInjectorFactory Maven / Gradle / Ivy
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(
);
}
}