Lines Matching refs:factory
35 * A factory API that enables applications to obtain a
110 * it can use the factory to obtain RowSet instances.</p>
114 * @throws SQLException if the default factory class cannot be loaded,
123 RowSetFactory factory = null;
130 factory = (RowSetFactory) getFactoryClass(factoryClassName, null, true).newInstance();
142 if (factory == null) {
146 factory = loadViaServiceLoader();
147 factory =
148 factory == null ? newFactory(ROWSET_FACTORY_IMPL, null) : factory;
150 return (factory);
155 * specified factory class name.
161 * it can use the factory to obtain RowSet instances.</p>
163 * @param factoryClassName fully qualified factory class name that
166 * @param cl <code>ClassLoader</code> used to load the factory
168 * classLoader is used to load the factory class.
173 * <code>null</code>, or the factory class cannot be loaded, instantiated.
263 for (RowSetFactory factory : ServiceLoader.load(javax.sql.rowset.RowSetFactory.class)) {
264 trace(" Loading done by the java.util.ServiceLoader :" + factory.getClass().getName());
265 theFactory = factory;