|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.ucsb.adl.middleware.rmi.IdentifiersDriver
Proxy driver for the ADL identifiers service. This driver establishes an RMI connection to a remote middleware server and thereby provides access to a (single) remote collection.
This class reads the following properties from the RMI proxy driver
configuration file rmi-proxy-driver.conf. Property
values may be indirectly specified using the notation
@P where P is the name of another
property (see ExtendedProperties
for more information).
remote_collection_nameadl_catalog".registryrmi://piru.alexandria.ucsb.edu".identifiers.name/edu/ucsb/adl/middleware/rmi/IdentifiersService".
$Log: IdentifiersDriver.java,v $ Revision 1.1 2006/06/24 22:00:17 gjanee Initial revision
| Method Summary | |
static edu.ucsb.adl.middleware.rmi.IdentifiersDriver |
createDriver(edu.ucsb.adl.middleware.Global global,
java.io.File directory,
java.lang.String collection)
Creates an IdentifiersDriver for a collection. |
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.middleware.rmi.IdentifiersDriver createDriver(edu.ucsb.adl.middleware.Global global,
java.io.File directory,
java.lang.String collection)
throws InternalErrorException
IdentifiersDriver for a collection.
global - Unused.directory - The pathname of the directory containing the RMI proxy 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 | |||||||||