org.minijax.jndi.MinijaxContext Maven / Gradle / Ivy
package org.minijax.jndi;
import java.util.Collections;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Map;
import java.util.Properties;
import javax.naming.Binding;
import javax.naming.Context;
import javax.naming.InvalidNameException;
import javax.naming.Name;
import javax.naming.NameAlreadyBoundException;
import javax.naming.NameClassPair;
import javax.naming.NameNotFoundException;
import javax.naming.NameParser;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.NotContextException;
public class MinijaxContext implements javax.naming.Context {
private final Properties env;
private final MinijaxNameParser nameParser;
private final Map namesToObjects;
private final Map subContexts;
public MinijaxContext(final Map