71 |
return icfb != null; |
return icfb != null; |
72 |
} |
} |
73 |
|
|
74 |
public static Context getInitialContext (Hashtable environment) |
public static Context getInitialContext (Hashtable<?, ?> environment) |
75 |
throws NamingException |
throws NamingException |
76 |
{ |
{ |
77 |
InitialContextFactory icf = null; |
InitialContextFactory icf = null; |
117 |
Name name, |
Name name, |
118 |
Context nameCtx, |
Context nameCtx, |
119 |
String scheme, |
String scheme, |
120 |
Hashtable environment) |
Hashtable<?, ?> environment) |
121 |
throws NamingException |
throws NamingException |
122 |
{ |
{ |
123 |
String prefixes = null; |
String prefixes = null; |
184 |
} |
} |
185 |
|
|
186 |
public static Context getURLContext (String scheme, |
public static Context getURLContext (String scheme, |
187 |
Hashtable environment) |
Hashtable<?, ?> environment) |
188 |
throws NamingException |
throws NamingException |
189 |
{ |
{ |
190 |
return getURLContext (null, null, null, scheme, environment); |
return getURLContext (null, null, null, scheme, environment); |
221 |
public static Object getObjectInstance (Object refInfo, |
public static Object getObjectInstance (Object refInfo, |
222 |
Name name, |
Name name, |
223 |
Context nameCtx, |
Context nameCtx, |
224 |
Hashtable environment) |
Hashtable<?, ?> environment) |
225 |
throws Exception |
throws Exception |
226 |
{ |
{ |
227 |
ObjectFactory factory = null; |
ObjectFactory factory = null; |
353 |
} |
} |
354 |
|
|
355 |
public static Object getStateToBind (Object obj, Name name, |
public static Object getStateToBind (Object obj, Name name, |
356 |
Context nameCtx, Hashtable environment) |
Context nameCtx, Hashtable<?, ?> environment) |
357 |
throws NamingException |
throws NamingException |
358 |
{ |
{ |
359 |
StringTokenizer tokens = getPlusPath (Context.STATE_FACTORIES, |
StringTokenizer tokens = getPlusPath (Context.STATE_FACTORIES, |