|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.ucsb.adl.bucket99.IdentifiersDriver
Driver for the ADL identifiers service. The driver queries a database for identifiers, and logs requests to a log file.
This class reads the following properties from the Bucket99 driver
configuration file bucket99.conf. Property values may
be indirectly specified using the notation @P
where P is the name of another property (see ExtendedProperties for more information).
identifiers.database_driver_classcom.informix.jdbc.IfxDriver".identifiers.database_urlidentifiers.database_propertiesnone". If the
filename is not absolute, it is interpreted relative to the
directory containing the Bucket99 configuration file.identifiers.querySELECT identifier FROM
table".identifiers.log_filej2se-logger:L", the name
L of the Java Logger
to log invocation records to (at logging level INFO); or the string
"none" if logging is not desired. If the filename is
not absolute, it is interpreted relative to the directory
containing the Bucket99 configuration file.System.currentTimeMillis.identifiers".adl_catalog".!957375987400|identifiers|edu.ucsb.adl.bucket99.IdentifiersDriver|adl_catalog|1108|
$Log: IdentifiersDriver.java,v $ Revision 1.1 2006/06/23 05:30:34 gjanee Initial revision
| Method Summary | |
static edu.ucsb.adl.bucket99.IdentifiersDriver |
createDriver(edu.ucsb.adl.middleware.Global global,
java.io.File directory,
java.lang.String collection)
Creates an IdentifiersDriver. |
void |
destroy()
Frees all resources held by the driver. |
java.util.Vector |
performIdentifiersService(java.lang.String collection)
Performs the ADL identifiers service, i.e., returns the identifiers of all items in the collection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static edu.ucsb.adl.bucket99.IdentifiersDriver createDriver(edu.ucsb.adl.middleware.Global global,
java.io.File directory,
java.lang.String collection)
throws InternalErrorException
IdentifiersDriver.
global - Unused.directory - The pathname of the directory containing the Bucket99 driver
configuration file.collection - The name of the collection, e.g., "adl_catalog".
IdentifiersDriver.
InternalErrorException - If any error is encountered.
public java.util.Vector performIdentifiersService(java.lang.String collection)
throws InternalErrorException
performIdentifiersService in interface IdentifiersDrivercollection - The collection name, e.g., "adl_catalog".
InternalErrorException - If any error occurs.IdentifiersServicepublic void destroy()
destroy in interface IdentifiersDriver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||