Lines Matching refs:instance
53 * generate an instance of the service. ICUServiceKeys define how
121 * identify an instance of the service in the cache. A
276 * (possibly deferred-initialized) instance. This implements
291 * service instance. If visible is TRUE, the ID will be visible.
292 * The instance must not be NULL. The SimpleFactory will adopt
293 * the instance, which must not be changed subsequent to this call.</p>
295 * @param instanceToAdopt the service instance to adopt.
296 * @param id the ID to assign to this service instance.
307 * <p>This implementation returns a clone of the service instance if the factory's ID is equal to
596 * @return the service instance, or NULL.
607 * @return the service instance, or NULL.
616 * @return the service instance, or NULL.
640 * @return the service instance, or NULL.
654 * @return the service instance, or NULL.
770 * (and discard) this instance.
775 * <p>Register a service instance with the provided ID. The ID will be
777 * getVisibleIDs if visible is TRUE. The service instance will be adopted and
790 * (and discard) this instance.
846 * <p>The default implementation creates an ICUServiceKey instance.
858 * clone, so we need an instance-aware method that knows how to do this.
861 * @param instance the service instance to clone.
862 * @return a clone of the passed-in instance, or NULL if cloning was unsuccessful.
864 virtual UObject* cloneInstance(UObject* instance) const = 0;
876 instance of SimpleFactory.</p>
878 * @param instanceToAdopt the service instance to adopt.
879 * @param id the ID to assign to this service instance.
882 * @return an instance of ICUServiceFactory that maps this instance to the provided ID.
909 * @return the service instance, or NULL.