equal
deleted
inserted
replaced
185 null. |
185 null. |
186 * @throws InvalidParameterException if the supplied configuration argument |
186 * @throws InvalidParameterException if the supplied configuration argument |
187 * is invalid. |
187 * is invalid. |
188 * @return a provider configured with the supplied configuration argument. |
188 * @return a provider configured with the supplied configuration argument. |
189 * |
189 * |
190 * @since 1.9 |
190 * @since 9 |
191 */ |
191 */ |
192 public Provider configure(String configArg) { |
192 public Provider configure(String configArg) { |
193 throw new UnsupportedOperationException("configure is not supported"); |
193 throw new UnsupportedOperationException("configure is not supported"); |
194 } |
194 } |
|
195 |
|
196 /** |
|
197 * Check if this provider instance has been configured. |
|
198 * |
|
199 * @implSpec |
|
200 * The default implementation returns true. |
|
201 * Subclasses should override this method if the provider instance requires |
|
202 * an explicit {@code configure} call after being constructed. |
|
203 * |
|
204 * @return true if no further configuration is needed, false otherwise. |
|
205 * |
|
206 * @since 9 |
|
207 */ |
|
208 public boolean isConfigured() { |
|
209 return true; |
|
210 } |
|
211 |
195 |
212 |
196 /** |
213 /** |
197 * Returns the name of this provider. |
214 * Returns the name of this provider. |
198 * |
215 * |
199 * @return the name of this provider. |
216 * @return the name of this provider. |