BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.jdbc.rowset
Class RowSetFactory

java.lang.Object
  extended byweblogic.jdbc.rowset.RowSetFactory

public abstract class RowSetFactory
extends Object

RowSetFactory is a factory class for creating javax.sql.RowSet implementations.

   RowSetFactory factory = RowSetFactory.newInstance();
   RowSet rs             = factory.newCachedRowSet();

 

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
protected RowSetFactory()
           
 
Method Summary
abstract  DataSource getDataSource()
          Get the DataSource object that will be automatically set on any RowSet instance created from this RowSetFactory.
abstract  String getDataSourceName()
          Get the DataSource name that will be automatically set on any RowSet instance created from this RowSetFactory.
abstract  String getPassword()
          Get the password that will be automatically set on any RowSet instance created from this RowSetFactory.
abstract  String getUrl()
          Get the URL that will be automatically set on any RowSet instance created from this RowSetFactory.
abstract  String getUsername()
          Get the username that will be automatically set on any RowSet instance created from this RowSetFactory.
abstract  WLCachedRowSet newCachedRowSet()
          Creates a new WLCachedRowSet instance.
static RowSetFactory newInstance()
          Creates a new RowSetFactory instance.
abstract  JdbcRowSet newJdbcRowSet()
          Creates a new JdbcRowSet instance.
abstract  JoinRowSet newJoinRowSet()
          Creates a new JoinRowSet instance.
abstract  void setDataSource(DataSource ds)
          Set the DataSource object that will be automatically set on any RowSet instance created from this RowSetFactory.
abstract  void setDataSourceName(String s)
          Set the DataSource name that will be automatically set on any RowSet instance created from this RowSetFactory.
abstract  void setPassword(String s)
          Set the password that will be automatically set on any RowSet instance created from this RowSetFactory.
abstract  void setUrl(String s)
          Set the URL that will be automatically set on any RowSet instance created from this RowSetFactory.
abstract  void setUsername(String s)
          Set the username that will be automatically set on any RowSet instance created from this RowSetFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowSetFactory

protected RowSetFactory()
Method Detail

getDataSource

public abstract DataSource getDataSource()
Get the DataSource object that will be automatically set on any RowSet instance created from this RowSetFactory.

Returns:
DataSource object

getDataSourceName

public abstract String getDataSourceName()
Get the DataSource name that will be automatically set on any RowSet instance created from this RowSetFactory.

Returns:
DataSource name

getPassword

public abstract String getPassword()
Get the password that will be automatically set on any RowSet instance created from this RowSetFactory.

Returns:
password

getUrl

public abstract String getUrl()
Get the URL that will be automatically set on any RowSet instance created from this RowSetFactory.

Returns:
url

getUsername

public abstract String getUsername()
Get the username that will be automatically set on any RowSet instance created from this RowSetFactory.

Returns:
username

newCachedRowSet

public abstract WLCachedRowSet newCachedRowSet()
Creates a new WLCachedRowSet instance.

Returns:
a new WLCachedRowSet instance

newInstance

public static RowSetFactory newInstance()
Creates a new RowSetFactory instance.

Returns:
a RowSetFactory instance

newJdbcRowSet

public abstract JdbcRowSet newJdbcRowSet()
Creates a new JdbcRowSet instance.

Returns:
a new JdbcRowSet instance

newJoinRowSet

public abstract JoinRowSet newJoinRowSet()
Creates a new JoinRowSet instance.

Returns:
a new JoinRowSet instance

setDataSource

public abstract void setDataSource(DataSource ds)
Set the DataSource object that will be automatically set on any RowSet instance created from this RowSetFactory.


setDataSourceName

public abstract void setDataSourceName(String s)
Set the DataSource name that will be automatically set on any RowSet instance created from this RowSetFactory.


setPassword

public abstract void setPassword(String s)
Set the password that will be automatically set on any RowSet instance created from this RowSetFactory.


setUrl

public abstract void setUrl(String s)
Set the URL that will be automatically set on any RowSet instance created from this RowSetFactory.


setUsername

public abstract void setUsername(String s)
Set the username that will be automatically set on any RowSet instance created from this RowSetFactory.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.