1 package org.sapia.soto; 2 3 import java.util.Hashtable ; 4 5 import javax.naming.Context ; 6 import javax.naming.Name ; 7 import javax.naming.NameParser ; 8 import javax.naming.NamingEnumeration ; 9 import javax.naming.NamingException ; 10 11 20 public class TestContext implements Context { 21 22 23 24 27 public Object addToEnvironment(String propName, Object propVal) 28 throws NamingException { 29 return null; 31 } 32 33 36 public void bind(Name name, Object obj) throws NamingException { 37 39 } 40 41 44 public void bind(String name, Object obj) throws NamingException { 45 47 } 48 49 52 public void close() throws NamingException { 53 55 } 56 57 60 public Name composeName(Name name, Name prefix) throws NamingException { 61 return null; 63 } 64 65 68 public String composeName(String name, String prefix) 69 throws NamingException { 70 return null; 72 } 73 74 77 public Context createSubcontext(Name name) throws NamingException { 78 return null; 80 } 81 82 85 public Context createSubcontext(String name) throws NamingException { 86 return null; 88 } 89 90 93 public void destroySubcontext(Name name) throws NamingException { 94 96 } 97 98 101 public void destroySubcontext(String name) throws NamingException { 102 104 } 105 106 109 public Hashtable getEnvironment() throws NamingException { 110 return null; 112 } 113 114 117 public String getNameInNamespace() throws NamingException { 118 return null; 120 } 121 122 125 public NameParser getNameParser(Name name) throws NamingException { 126 return null; 128 } 129 130 133 public NameParser getNameParser(String name) throws NamingException { 134 return null; 136 } 137 138 141 public NamingEnumeration list(Name name) throws NamingException { 142 return null; 144 } 145 146 149 public NamingEnumeration list(String name) throws NamingException { 150 return null; 152 } 153 154 157 public NamingEnumeration listBindings(Name name) throws NamingException { 158 return null; 160 } 161 162 165 public NamingEnumeration listBindings(String name) throws NamingException { 166 return null; 168 } 169 170 173 public Object lookup(Name name) throws NamingException { 174 return new Object (); 176 } 177 178 181 public Object lookup(String name) throws NamingException { 182 return new Object (); 184 } 185 186 189 public Object lookupLink(Name name) throws NamingException { 190 return null; 192 } 193 194 197 public Object lookupLink(String name) throws NamingException { 198 return null; 200 } 201 202 205 public void rebind(Name name, Object obj) throws NamingException { 206 208 } 209 210 213 public void rebind(String name, Object obj) throws NamingException { 214 216 } 217 218 221 public Object removeFromEnvironment(String propName) throws NamingException { 222 return null; 224 } 225 226 229 public void rename(Name oldName, Name newName) throws NamingException { 230 232 } 233 234 237 public void rename(String oldName, String newName) throws NamingException { 238 240 } 241 242 245 public void unbind(Name name) throws NamingException { 246 248 } 249 250 253 public void unbind(String name) throws NamingException { 254 256 } 257 258 } 259 | Popular Tags |