org.minijax.jndi.MinijaxInitialContextFactory Maven / Gradle / Ivy
package org.minijax.jndi;
import java.util.Hashtable;
import java.util.Map;
import javax.naming.Context;
import javax.naming.NamingException;
public class MinijaxInitialContextFactory implements javax.naming.spi.InitialContextFactory {
@Override
@SuppressWarnings("unchecked")
public Context getInitialContext(final Hashtable, ?> environment) throws NamingException {
initEnv((Hashtable