org.osgl.inject.provider.OsglMapProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of genie Show documentation
Show all versions of genie Show documentation
A JSR330 style dependency injection solution
package org.osgl.inject.provider;
import org.osgl.util.C;
import javax.inject.Provider;
/**
* Inject {@link java.util.Map} using {@link org.osgl.util.C.Map}
*/
public class OsglMapProvider implements Provider> {
public static final OsglMapProvider INSTANCE = new OsglMapProvider();
@Override
public C.Map, ?> get() {
return C.newMap();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy