celeboss.HTMLload
Class WebDataSourceFactory

java.lang.Object
  extended byceleboss.HTMLload.WebDataSourceFactory
All Implemented Interfaces:
CelebDataSourceFactory

public class WebDataSourceFactory
extends java.lang.Object
implements CelebDataSourceFactory

This is a factory class that creates connections to a web server to get the celebdaq data.

Version:
1.0
Author:
bevans

Constructor Summary
WebDataSourceFactory()
           
 
Method Summary
 CelebDataSource createSource(java.lang.String username, java.lang.String password)
          This method will create a web based data source.
 void setOptions(java.lang.String factoryOptions)
          Set any specific factory options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDataSourceFactory

public WebDataSourceFactory()
Method Detail

createSource

public CelebDataSource createSource(java.lang.String username,
                                    java.lang.String password)
This method will create a web based data source. It must establish a login connection witht he remote server via the user of cookies. This method will created the cookies for the specified user.

Specified by:
createSource in interface CelebDataSourceFactory
Parameters:
username - Name of user for login.
password - Password entry
Returns:
The data source connected to web server.

setOptions

public void setOptions(java.lang.String factoryOptions)
Set any specific factory options.

Specified by:
setOptions in interface CelebDataSourceFactory
Parameters:
factoryOptions - Options