Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
javax.sql.rowset

Class RowSetProvider


  • public class RowSetProvider
    extends Object
    A factory API that enables applications to obtain a RowSetFactory implementation that can be used to create different types of RowSet implementations.

    Example:

     RowSetFactory aFactory = RowSetProvider.newFactory();
     CachedRowSet crs = aFactory.createCachedRowSet();
     ...
     RowSetFactory rsf = RowSetProvider.newFactory("com.sun.rowset.RowSetFactoryImpl", null);
     WebRowSet wrs = rsf.createWebRowSet();
     

    Tracing of this class may be enabled by setting the System property javax.sql.rowset.RowSetFactory.debug to any value but false.

    Since:
    1.7
    • Constructor Detail

      • RowSetProvider

        protected RowSetProvider()
    • Method Detail

      • newFactory

        public static RowSetFactory newFactory()
                                        throws SQLException

        Creates a new instance of a RowSetFactory implementation. This method uses the following look up order to determine the RowSetFactory implementation class to load:

        • The System property javax.sql.rowset.RowSetFactory. For example:
          • -Djavax.sql.rowset.RowSetFactory=com.sun.rowset.RowSetFactoryImpl
        • The ServiceLoader API. The ServiceLoader API will look for a class name in the file META-INF/services/javax.sql.rowset.RowSetFactory in jars available to the runtime. For example, to have the the RowSetFactory implementation com.sun.rowset.RowSetFactoryImpl loaded, the entry in META-INF/services/javax.sql.rowset.RowSetFactory would be:
          • com.sun.rowset.RowSetFactoryImpl
        • Platform default RowSetFactory instance.

        Once an application has obtained a reference to a RowSetFactory, it can use the factory to obtain RowSet instances.

        Returns:
        New instance of a RowSetFactory
        Throws:
        SQLException - if the default factory class cannot be loaded, instantiated. The cause will be set to actual Exception
        Since:
        1.7
        See Also:
        ServiceLoader
      • newFactory

        public static RowSetFactory newFactory(String factoryClassName,
                               ClassLoader cl)
                                        throws SQLException

        Creates a new instance of a RowSetFactory from the specified factory class name. This function is useful when there are multiple providers in the classpath. It gives more control to the application as it can specify which provider should be loaded.

        Once an application has obtained a reference to a RowSetFactory it can use the factory to obtain RowSet instances.

        Parameters:
        factoryClassName - fully qualified factory class name that provides an implementation of javax.sql.rowset.RowSetFactory.
        cl - ClassLoader used to load the factory class. If null current Thread's context classLoader is used to load the factory class.
        Returns:
        New instance of a RowSetFactory
        Throws:
        SQLException - if factoryClassName is null, or the factory class cannot be loaded, instantiated.
        Since:
        1.7
        See Also:
        newFactory()

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/sql/rowset/rowsetprovider.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut