equal
deleted
inserted
replaced
22 * or visit www.oracle.com if you need additional information or have any |
22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 package jdk.incubator.sql2; |
25 package jdk.incubator.sql2; |
26 |
26 |
|
27 import java.io.Serializable; |
|
28 |
27 /** |
29 /** |
28 * An attribute of a {@link DataSource} that can be configured to influence its |
30 * An attribute of a {@link DataSource} that can be configured to influence its |
29 * behavior. Implementors of this interface define the properties of |
|
30 * {@link DataSource}s. The {@link DataSource.Builder#property} method is used |
31 * {@link DataSource}s. The {@link DataSource.Builder#property} method is used |
31 * to set the values of {@link DataSource} properties. |
32 * to set the values of {@link DataSource} properties. |
32 * |
33 * |
33 * Implementations must be thread safe. |
34 * Implementations must be thread safe. |
34 * |
35 * |
35 */ |
36 */ |
36 public interface DataSourceProperty { |
37 public interface DataSourceProperty extends Serializable { |
37 |
38 |
38 /** |
39 /** |
39 * Return the name of this {@link DataSourceProperty}. |
40 * Return the name of this {@link DataSourceProperty}. |
40 * |
41 * |
41 * @return the name of this {@link DataSourceProperty} |
42 * @return the name of this {@link DataSourceProperty} |