1 22 package org.jboss.test.jca.fs; 23 24 import java.util.Hashtable ; 25 import javax.naming.Name ; 26 import javax.naming.Context ; 27 import javax.naming.NamingEnumeration ; 28 import javax.naming.NamingException ; 29 import javax.naming.NameParser ; 30 import javax.naming.directory.ModificationItem ; 31 import javax.naming.directory.SearchControls ; 32 import javax.naming.directory.DirContext ; 33 import javax.naming.directory.Attributes ; 34 35 import org.jboss.logging.Logger; 36 37 42 public class FSDirContext implements DirContext 43 { 44 static Logger log = Logger.getLogger(FSDirContext.class); 45 private FSManagedConnection mc; 46 47 48 public FSDirContext(FSManagedConnection mc) 49 { 50 this.mc = mc; 51 } 52 53 protected void setManagedConnection(FSManagedConnection mc) 54 { 55 this.mc = mc; 56 } 57 58 public Attributes getAttributes(Name name, String [] str) throws NamingException 59 { 60 return null; 61 } 62 63 public void close() throws NamingException 64 { 65 log.debug("close"); 66 mc.close(); 67 } 68 69 public NamingEnumeration list(String str) throws NamingException 70 { 71 return null; 72 } 73 74 public void unbind(Name name) throws NamingException 75 { 76 } 77 78 public DirContext getSchemaClassDefinition(Name name) throws NamingException 79 { 80 return null; 81 } 82 83 public DirContext createSubcontext(String str, Attributes attributes) throws NamingException 84 { 85 return null; 86 } 87 88 public String getNameInNamespace() throws NamingException 89 { 90 return null; 91 } 92 93 public Object addToEnvironment(String str, Object obj) throws NamingException 94 { 95 return null; 96 } 97 98 public NamingEnumeration listBindings(Name name) throws NamingException 99 { 100 return null; 101 } 102 103 public void bind(Name name, Object obj) throws NamingException 104 { 105 } 106 107 public NamingEnumeration search(String str, Attributes attributes, String [] str2) throws NamingException 108 { 109 return null; 110 } 111 112 public void modifyAttributes(Name name, int param, Attributes attributes) throws NamingException 113 { 114 } 115 116 public Hashtable getEnvironment() throws NamingException 117 { 118 return null; 119 } 120 121 public void bind(String str, Object obj) throws NamingException 122 { 123 } 124 125 public void rebind(String str, Object obj, Attributes attributes) throws NamingException 126 { 127 } 128 129 public DirContext getSchema(Name name) throws NamingException 130 { 131 return null; 132 } 133 134 public DirContext getSchemaClassDefinition(String str) throws NamingException 135 { 136 return null; 137 } 138 139 public Object lookup(String str) throws NamingException 140 { 141 return null; 142 } 143 144 public void destroySubcontext(String str) throws NamingException 145 { 146 } 147 148 public Context createSubcontext(Name name) throws NamingException 149 { 150 return null; 151 } 152 153 public Object lookupLink(String str) throws NamingException 154 { 155 return null; 156 } 157 158 public DirContext getSchema(String str) throws NamingException 159 { 160 return null; 161 } 162 163 public Object lookup(Name name) throws NamingException 164 { 165 return null; 166 } 167 168 public void destroySubcontext(Name name) throws NamingException 169 { 170 } 171 172 public NamingEnumeration listBindings(String str) throws NamingException 173 { 174 return null; 175 } 176 177 public void rebind(String str, Object obj) throws NamingException 178 { 179 } 180 181 public Object removeFromEnvironment(String str) throws NamingException 182 { 183 return null; 184 } 185 186 public void bind(String str, Object obj, Attributes attributes) throws NamingException 187 { 188 } 189 190 public NamingEnumeration search(Name name, Attributes attributes) throws NamingException 191 { 192 return null; 193 } 194 195 public NameParser getNameParser(String str) throws NamingException 196 { 197 return null; 198 } 199 200 public void bind(Name name, Object obj, Attributes attributes) throws NamingException 201 { 202 } 203 204 public Attributes getAttributes(String str) throws NamingException 205 { 206 return null; 207 } 208 209 public void rename(String str, String str1) throws NamingException 210 { 211 } 212 213 public void rename(Name name, Name name1) throws NamingException 214 { 215 } 216 217 public DirContext createSubcontext(Name name, Attributes attributes) throws NamingException 218 { 219 return null; 220 } 221 222 public void rebind(Name name, Object obj, Attributes attributes) throws NamingException 223 { 224 } 225 226 public NamingEnumeration list(Name name) throws NamingException 227 { 228 return null; 229 } 230 231 public Context createSubcontext(String str) throws NamingException 232 { 233 return null; 234 } 235 236 public void modifyAttributes(String str, int param, Attributes attributes) throws NamingException 237 { 238 } 239 240 public NamingEnumeration search(String str, Attributes attributes) throws NamingException 241 { 242 return null; 243 } 244 245 public Name composeName(Name name, Name name1) throws NamingException 246 { 247 return null; 248 } 249 250 public String composeName(String str, String str1) throws NamingException 251 { 252 return null; 253 } 254 255 public NamingEnumeration search(Name name, Attributes attributes, String [] str) throws NamingException 256 { 257 return null; 258 } 259 260 public void rebind(Name name, Object obj) throws NamingException 261 { 262 } 263 264 public void modifyAttributes(Name name, ModificationItem [] modificationItem) throws NamingException 265 { 266 } 267 268 public NamingEnumeration search(Name name, String str, SearchControls searchControls) throws NamingException 269 { 270 return null; 271 } 272 273 public NamingEnumeration search(Name name, String str, Object [] obj, SearchControls searchControls) throws NamingException 274 { 275 return null; 276 } 277 278 public void unbind(String str) throws NamingException 279 { 280 } 281 282 public void modifyAttributes(String str, ModificationItem [] modificationItem) throws NamingException 283 { 284 } 285 286 public Attributes getAttributes(Name name) throws NamingException 287 { 288 return null; 289 } 290 291 public Object lookupLink(Name name) throws NamingException 292 { 293 return null; 294 } 295 296 public NameParser getNameParser(Name name) throws NamingException 297 { 298 return null; 299 } 300 301 public Attributes getAttributes(String str, String [] str1) throws NamingException 302 { 303 return null; 304 } 305 306 public NamingEnumeration search(String str, String str1, SearchControls searchControls) throws NamingException 307 { 308 return null; 309 } 310 311 public NamingEnumeration search(String str, String str1, Object [] obj, SearchControls searchControls) throws NamingException 312 { 313 return null; 314 } 315 316 } 317 | Popular Tags |