Lines Matching refs:RowSetFactory

38  * {@code RowSetFactory} implementation  that can be used to create different
44 * RowSetFactory aFactory = RowSetProvider.newFactory();
47 * RowSetFactory rsf = RowSetProvider.newFactory("com.sun.rowset.RowSetFactoryImpl", null);
52 * {@code javax.sql.rowset.RowSetFactory.debug} to any value but {@code false}.
62 private static final String ROWSET_FACTORY_NAME = "javax.sql.rowset.RowSetFactory";
83 * <p>Creates a new instance of a <code>RowSetFactory</code>
86 * the <code>RowSetFactory</code> implementation class to load:</p>
89 * The System property {@code javax.sql.rowset.RowSetFactory}. For example:
92 * -Djavax.sql.rowset.RowSetFactory=com.sun.rowset.RowSetFactoryImpl
98 * {@code META-INF/services/javax.sql.rowset.RowSetFactory}
99 * in jars available to the runtime. For example, to have the RowSetFactory
101 * entry in {@code META-INF/services/javax.sql.rowset.RowSetFactory} would be:
109 * Platform default <code>RowSetFactory</code> instance.
113 * <p>Once an application has obtained a reference to a {@code RowSetFactory},
116 * @return New instance of a <code>RowSetFactory</code>
124 public static RowSetFactory newFactory()
127 RowSetFactory factory = null;
141 factory = (RowSetFactory) o;
144 throw new SQLException( "RowSetFactory: " + factoryClassName +
148 // Check to see if we found the RowSetFactory via a System property
150 // If the RowSetFactory is not found via a System Property, now
158 private static RowSetFactory defaultRowSetFactory() {
163 * <p>Creates a new instance of a <code>RowSetFactory</code> from the
169 * <p>Once an application has obtained a reference to a <code>RowSetFactory</code>
173 * provides an implementation of <code>javax.sql.rowset.RowSetFactory</code>.
179 * @return New instance of a <code>RowSetFactory</code>
188 public static RowSetFactory newFactory(String factoryClassName, ClassLoader cl)
207 RowSetFactory instance = (RowSetFactory) providerClass.newInstance();
272 factoryClass = Class.forName(factoryClassName, true, RowSetFactory.class.getClassLoader());
283 * Use the ServiceLoader mechanism to load the default RowSetFactory
284 * @return default RowSetFactory Implementation
286 static private RowSetFactory loadViaServiceLoader() throws SQLException {
287 RowSetFactory theFactory = null;
290 for (RowSetFactory factory : ServiceLoader.load(javax.sql.rowset.RowSetFactory.class)) {
297 "RowSetFactory: Error locating RowSetFactory using Service "
331 * -Djavax.sql.rowset.RowSetFactory.debug is set