Lines Matching refs:Context

170      * {@code Context.OBJECT_FACTORIES} property of the environment
176 Context nameCtx, Hashtable<?,?> environment) throws Exception {
179 Context.OBJECT_FACTORIES, environment, nameCtx);
228 * the {@code Context.OBJECT_FACTORIES} property of the environment,
243 * Service providers that implement only the {@code Context}
292 getObjectInstance(Object refInfo, Name name, Context nameCtx,
355 static Object processURLAddrs(Reference ref, Name name, Context nameCtx,
375 Context nameCtx, Hashtable<?,?> environment)
433 static Context getContext(Object obj, Name name, Context nameCtx,
437 if (obj instanceof Context) {
439 return (Context)obj;
452 return (answer instanceof Context)
453 ? (Context)answer
458 static Resolver getResolver(Object obj, Name name, Context nameCtx,
483 /***************** URL Context implementations ***************/
497 * The {@code Context.URL_PKG_PREFIXES} environment property (which
509 * {@code Context.URL_PKG_PREFIXES} property
550 public static Context getURLContext(String scheme,
558 if (answer instanceof Context) {
559 return (Context)answer;
588 * @param nameCtx Context whose provider resource file will be searched
594 Name name, Context nameCtx,
600 Context.URL_PKG_PREFIXES, environment, nameCtx,
620 // ------------ Initial Context Factory Stuff
642 * {@code Context.INITIAL_CONTEXT_FACTORY} environment property
664 * {@code Context.INITIAL_CONTEXT_FACTORY} property
673 public static Context getInitialContext(Hashtable<?,?> env)
683 (String)env.get(Context.INITIAL_CONTEXT_FACTORY) : null;
688 Context.INITIAL_CONTEXT_FACTORY);
776 // ----- Continuation Context Stuff
817 * @return A non-null Context object for continuing the operation.
821 public static Context getContinuationContext(CannotProceedException cpe)
844 * Service providers that implement only the {@code Context} interface
848 * the {@code Context.STATE_FACTORIES} property from the environment
869 * See the description of "Name and Context Parameters" in
902 getStateToBind(Object obj, Name name, Context nameCtx,
908 Context.STATE_FACTORIES, environment, nameCtx);