1 19 51 package org.objectweb.carol.cmi.jndi; 52 53 import java.util.Properties ; 54 55 import javax.naming.CompoundName ; 56 import javax.naming.Name ; 57 import javax.naming.NameParser ; 58 import javax.naming.NamingException ; 59 60 class FlatNameParser implements NameParser { 61 static Properties syntax = new Properties (); 62 static { 63 syntax.put("jndi.syntax.direction", "flat"); 64 syntax.put("jndi.syntax.ignorecase", "false"); 65 } 66 public Name parse(String name) throws NamingException { 67 return new CompoundName (name, syntax); 68 } 69 } 70 | Popular Tags |