1 28 29 package com.caucho.naming.hessian; 30 31 import com.caucho.log.Log; 32 import com.caucho.naming.AbstractModel; 33 import com.caucho.naming.ContextImpl; 34 import com.caucho.util.L10N; 35 36 import javax.naming.NamingException ; 37 import java.util.Hashtable ; 38 import java.util.logging.Logger ; 39 40 45 public class HessianContextImpl extends ContextImpl { 46 protected static final Logger dbg = Log.open(HessianContextImpl.class); 47 protected static final L10N L = new L10N(HessianContextImpl.class); 48 49 55 public HessianContextImpl(AbstractModel model, Hashtable env) 56 { 57 super(model, env); 58 } 59 60 67 public HessianContextImpl(String name, AbstractModel model, Hashtable env) 68 { 69 super(name, model, env); 70 } 71 72 82 protected ContextImpl create(String name, AbstractModel model, Hashtable env) 83 { 84 return new HessianContextImpl(name, model, env); 85 } 86 87 90 protected String parseFirst(String name) 91 throws NamingException 92 { 93 return name; 94 } 95 96 99 protected String parseRest(String name) 100 throws NamingException 101 { 102 return null; 103 } 104 105 108 public String toString() 109 { 110 return "HessianContextImpl[" + getName() + "]"; 111 } 112 } 113 | Popular Tags |