KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > jca > fs > FSDirContext


1 /*
2   * JBoss, Home of Professional Open Source
3   * Copyright 2005, JBoss Inc., and individual contributors as indicated
4   * by the @authors tag. See the copyright.txt in the distribution for a
5   * full listing of individual contributors.
6   *
7   * This is free software; you can redistribute it and/or modify it
8   * under the terms of the GNU Lesser General Public License as
9   * published by the Free Software Foundation; either version 2.1 of
10   * the License, or (at your option) any later version.
11   *
12   * This software is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15   * Lesser General Public License for more details.
16   *
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this software; if not, write to the Free
19   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21   */

22 package org.jboss.test.jca.fs;
23
24 import java.util.Hashtable JavaDoc;
25 import javax.naming.Name JavaDoc;
26 import javax.naming.Context JavaDoc;
27 import javax.naming.NamingEnumeration JavaDoc;
28 import javax.naming.NamingException JavaDoc;
29 import javax.naming.NameParser JavaDoc;
30 import javax.naming.directory.ModificationItem JavaDoc;
31 import javax.naming.directory.SearchControls JavaDoc;
32 import javax.naming.directory.DirContext JavaDoc;
33 import javax.naming.directory.Attributes JavaDoc;
34
35 import org.jboss.logging.Logger;
36
37 /**
38  *
39  * @author Scott.Stark@jboss.org
40  * @version $Revision: 58115 $
41  */

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