--- old/src/share/classes/javax/sql/rowset/spi/SyncFactory.java 2013-06-27 12:46:08.000000000 -0400 +++ new/src/share/classes/javax/sql/rowset/spi/SyncFactory.java 2013-06-27 12:46:08.000000000 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -260,13 +260,14 @@ *
* Synchronization providers bound to a JNDI context can be * registered by binding a SyncProvider instance to a JNDI namespace. - *
+ * {@code * SyncProvider p = new MySyncProvider(); * InitialContext ic = new InitialContext(); * ic.bind ("jdbc/rowset/MySyncProvider", p); - *- * + * } + * * Furthermore, an initial JNDI context should be set with the *
SyncFactory
using the setJNDIContext
method.
* The SyncFactory
leverages this context to search for
@@ -564,6 +565,8 @@
*
* @return Enumeration A enumeration of available synchronization
* providers that are registered with this Factory
+ * @throws SyncFactoryException If an error occurs obtaining the registered
+ * providers
*/
public static Enumeration