1 28 29 package com.caucho.naming; 30 31 import com.caucho.log.Log; 32 import com.caucho.util.L10N; 33 34 import javax.naming.Name ; 35 import javax.naming.NamingEnumeration ; 36 import javax.naming.directory.Attributes ; 37 import javax.naming.directory.DirContext ; 38 import javax.naming.directory.ModificationItem ; 39 import javax.naming.directory.SearchControls ; 40 import java.util.Hashtable ; 41 import java.util.logging.Logger ; 42 43 63 public class DirContextImpl extends ContextImpl implements DirContext { 64 protected static L10N L = new L10N(DirContextImpl.class); 65 protected static Logger log = Log.open(DirContextImpl.class); 66 67 73 public DirContextImpl(AbstractModel model, Hashtable env) 74 { 75 super(model, env); 76 } 77 78 85 public DirContextImpl(String name, AbstractModel model, Hashtable env) 86 { 87 super(name, model, env); 88 } 89 90 100 protected ContextImpl create(String name, AbstractModel model, Hashtable env) 101 { 102 return new DirContextImpl(name, model, env); 103 } 104 105 107 public void bind(Name name, Object obj, Attributes attrs) 108 { 109 throw new UnsupportedOperationException (); 110 } 111 112 public void bind(String name, Object obj, Attributes attrs) 113 { 114 throw new UnsupportedOperationException (); 115 } 116 117 public DirContext createSubcontext(Name name, Attributes attrs) 118 { 119 throw new UnsupportedOperationException (); 120 } 121 122 public DirContext createSubcontext(String name, Attributes attrs) 123 { 124 throw new UnsupportedOperationException (); 125 } 126 127 public Attributes getAttributes(Name name) 128 { 129 throw new UnsupportedOperationException (); 130 } 131 132 public Attributes getAttributes(String name) 133 { 134 throw new UnsupportedOperationException (); 135 } 136 137 public Attributes getAttributes(Name name, String []attrIds) 138 { 139 throw new UnsupportedOperationException (); 140 } 141 142 public Attributes getAttributes(String name, String []attrIds) 143 { 144 throw new UnsupportedOperationException (); 145 } 146 147 public DirContext getSchema(Name name) 148 { 149 throw new UnsupportedOperationException (); 150 } 151 152 public DirContext getSchema(String name) 153 { 154 throw new UnsupportedOperationException (); 155 } 156 157 public DirContext getSchemaClassDefinition(Name name) 158 { 159 throw new UnsupportedOperationException (); 160 } 161 162 public DirContext getSchemaClassDefinition(String name) 163 { 164 throw new UnsupportedOperationException (); 165 } 166 167 public void modifyAttributes(Name name, int mod_op, Attributes attrs) 168 { 169 throw new UnsupportedOperationException (); 170 } 171 172 public void modifyAttributes(String name, int mod_op, Attributes attrs) 173 { 174 throw new UnsupportedOperationException (); 175 } 176 177 public void modifyAttributes(Name name, ModificationItem []mods) 178 { 179 throw new UnsupportedOperationException (); 180 } 181 182 public void modifyAttributes(String name, ModificationItem []mods) 183 { 184 throw new UnsupportedOperationException (); 185 } 186 187 public void rebind(Name name, Object obj, Attributes attrs) 188 { 189 throw new UnsupportedOperationException (); 190 } 191 192 public void rebind(String name, Object obj, Attributes attrs) 193 { 194 throw new UnsupportedOperationException (); 195 } 196 197 public NamingEnumeration search(Name name, Attributes attrs) 198 { 199 throw new UnsupportedOperationException (); 200 } 201 202 public NamingEnumeration search(String name, Attributes attrs) 203 { 204 throw new UnsupportedOperationException (); 205 } 206 207 public NamingEnumeration search(Name name, Attributes attrs, String []args) 208 { 209 throw new UnsupportedOperationException (); 210 } 211 212 public NamingEnumeration search(String name, Attributes attrs, String []args) 213 { 214 throw new UnsupportedOperationException (); 215 } 216 217 public NamingEnumeration search(Name name, String filterExpr, 218 Object []filterArgs, SearchControls cons) 219 { 220 throw new UnsupportedOperationException (); 221 } 222 223 public NamingEnumeration search(String name, String filterExpr, 224 Object []filterArgs, SearchControls cons) 225 { 226 throw new UnsupportedOperationException (); 227 } 228 229 public NamingEnumeration search(Name name, String filterExpr, 230 SearchControls cons) 231 { 232 throw new UnsupportedOperationException (); 233 } 234 235 public NamingEnumeration search(String name, String filterExpr, 236 SearchControls cons) 237 { 238 throw new UnsupportedOperationException (); 239 } 240 241 244 public String toString() 245 { 246 return "[DirContextImpl " + _name + "]"; 247 } 248 } 249 | Popular Tags |