public S lookup(String name) { final S service = services.get(name); if (service != null) return service; throw new IllegalArgumentException("An SPI class of type "+clazz.getName()+" with name '"+name+"' does not exist."+ " You need to add the corresponding JAR file supporting this SPI to your classpath."+ " The current classpath supports the following names: "+availableServices()); }
/** returns a list of all available codec names */ public static Set<String> availableCodecs() { return Holder.getLoader().availableServices(); }
/** returns a list of all available format names */ public static Set<String> availableDocValuesFormats() { return Holder.getLoader().availableServices(); }
/** returns a list of all available format names */ public static Set<String> availablePostingsFormats() { return Holder.getLoader().availableServices(); }
public S lookup(String name) { final S service = services.get(name); if (service != null) return service; throw new IllegalArgumentException("An SPI class of type "+clazz.getName()+" with name '"+name+"' does not exist."+ " You need to add the corresponding JAR file supporting this SPI to your classpath."+ " The current classpath supports the following names: "+availableServices()); }
public S lookup(String name) { final S service = services.get(name); if (service != null) return service; throw new IllegalArgumentException("An SPI class of type "+clazz.getName()+" with name '"+name+"' does not exist."+ " You need to add the corresponding JAR file supporting this SPI to your classpath."+ " The current classpath supports the following names: "+availableServices()); }
public S lookup(String name) { final S service = services.get(name); if (service != null) return service; throw new IllegalArgumentException("An SPI class of type "+clazz.getName()+" with name '"+name+"' does not exist."+ " You need to add the corresponding JAR file supporting this SPI to your classpath."+ " The current classpath supports the following names: "+availableServices()); }
/** returns a list of all available format names */ public static Set<String> availablePostingsFormats() { return Holder.getLoader().availableServices(); }
/** returns a list of all available format names */ public static Set<String> availableDocValuesFormats() { return Holder.getLoader().availableServices(); }
/** returns a list of all available format names */ public static Set<String> availableDocValuesFormats() { return Holder.getLoader().availableServices(); }
/** returns a list of all available format names */ public static Set<String> availableDocValuesFormats() { return Holder.getLoader().availableServices(); }
/** returns a list of all available codec names */ public static Set<String> availableCodecs() { return Holder.getLoader().availableServices(); }
/** returns a list of all available codec names */ public static Set<String> availableCodecs() { return Holder.getLoader().availableServices(); }
/** returns a list of all available format names */ public static Set<String> availablePostingsFormats() { return Holder.getLoader().availableServices(); }
/** returns a list of all available codec names */ public static Set<String> availableCodecs() { return Holder.getLoader().availableServices(); }
/** returns a list of all available format names */ public static Set<String> availablePostingsFormats() { return Holder.getLoader().availableServices(); }