19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25 package java.beans;
26
27 import java.util.*;
28 import java.lang.reflect.*;
29 import java.util.Objects;
30 import sun.reflect.misc.*;
31
32
33 /**
34 * The {@code DefaultPersistenceDelegate} is a concrete implementation of
35 * the abstract {@code PersistenceDelegate} class and
36 * is the delegate used by default for classes about
37 * which no information is available. The {@code DefaultPersistenceDelegate}
38 * provides, version resilient, public API-based persistence for
39 * classes that follow the JavaBeans™ conventions without any class specific
40 * configuration.
41 * <p>
42 * The key assumptions are that the class has a nullary constructor
43 * and that its state is accurately represented by matching pairs
44 * of "setter" and "getter" methods in the order they are returned
45 * by the Introspector.
46 * In addition to providing code-free persistence for JavaBeans,
47 * the {@code DefaultPersistenceDelegate} provides a convenient means
48 * to effect persistent storage for classes that have a constructor
49 * that, while not nullary, simply requires some property values
50 * as arguments.
51 *
52 * @see #DefaultPersistenceDelegate(String[])
53 * @see java.beans.Introspector
54 *
55 * @since 1.4
56 *
57 * @author Philip Milne
58 */
59
|
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25 package java.beans;
26
27 import java.util.*;
28 import java.lang.reflect.*;
29 import java.util.Objects;
30 import sun.reflect.misc.*;
31
32
33 /**
34 * The {@code DefaultPersistenceDelegate} is a concrete implementation of
35 * the abstract {@code PersistenceDelegate} class and
36 * is the delegate used by default for classes about
37 * which no information is available. The {@code DefaultPersistenceDelegate}
38 * provides, version resilient, public API-based persistence for
39 * classes that follow the JavaBeans conventions without any class specific
40 * configuration.
41 * <p>
42 * The key assumptions are that the class has a nullary constructor
43 * and that its state is accurately represented by matching pairs
44 * of "setter" and "getter" methods in the order they are returned
45 * by the Introspector.
46 * In addition to providing code-free persistence for JavaBeans,
47 * the {@code DefaultPersistenceDelegate} provides a convenient means
48 * to effect persistent storage for classes that have a constructor
49 * that, while not nullary, simply requires some property values
50 * as arguments.
51 *
52 * @see #DefaultPersistenceDelegate(String[])
53 * @see java.beans.Introspector
54 *
55 * @since 1.4
56 *
57 * @author Philip Milne
58 */
59
|