|
IBM Rational Functional Tester Version 8.2.1 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDatapoolFactory
A datapool factory manages the construction and sharing of
IDatapool
and IDatapoolIterator
objects.
Test scripts by default use managed datapools that share the
datapool and iterator instance across multiple scripts.
Method Summary | |
---|---|
void |
close(IDatapoolIterator iterator)
Return the iterator to the factory so that it can be properly destroyed. |
IDatapool |
load(java.io.File dpFile,
boolean sharedInstance)
Load the datapool from the specified file. |
IDatapoolIterator |
open(IDatapool datapool,
java.lang.String iteratorClassName)
Return an iterator instance of the supplied iterator class. |
void |
unload(IDatapool datapool)
Removes a reference to an instance of a datapool. |
Method Detail |
---|
IDatapool load(java.io.File dpFile, boolean sharedInstance)
sharedInstance
is requested then the cache of
other datapools that have been opened is checked for an
existing copy of the datapool. Note that modifying a shared
instance of the datapool may effect other uses of the datapool
and should only be done in a confined execution environment.
dpFile
- The datapool file name.sharedInstance
- Available for sharing instances of
the datapool, which can save significantly
on datapool loading overhead.unload(IDatapool)
void unload(IDatapool datapool)
datapool
- The datapool instance being unloaded.load(java.io.File,boolean)
IDatapoolIterator open(IDatapool datapool, java.lang.String iteratorClassName)
datapool
- The datapool instance being iterated over.close(IDatapoolIterator)
void close(IDatapoolIterator iterator)
iterator
- The iterator being freed.open(IDatapool,String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |