|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.ucsb.adl.middleware.UnloadService
The ADL unload service. This service unloads a collection (i.e., the collection's driver and gatekeeper) from the middleware.
This class reads the following properties from the main middleware
configuration file. Property values may be indirectly specified
using the notation @P where P is the
name of another property (see ExtendedProperties for more
information).
unload.gatekeeper.class
edu.ucsb.adl.middleware.IPAddressGatekeeper".
unload.gatekeeper.argument
$Log: UnloadService.java,v $
Revision 1.4 2006/06/24 06:23:37 gjanee
Added the identifiers service.
Revision 1.3 2004/09/21 23:53:43 gjanee
Minor documentation change.
Revision 1.2 2004/03/05 18:52:05 gjanee
Added support for multiple middleware instances. A middleware
instance is represented by a Global object that is
tied to a main middleware configuration file. All service objects
now maintain a reference to the appropriate Global
object. Instance-wide variables formerly coded as class variables
are now held by the Global object; various methods
that return instance-wide variables now accept a
Global object as an argument. The Global
object is now passed to all service drivers.
Revision 1.1 2001/09/01 22:23:59 gjanee
Initial revision
| Method Summary | |
static edu.ucsb.adl.middleware.UnloadService |
createService(java.lang.String configurationFile)
Creates an UnloadService. |
void |
destroy()
Decrements the reference count. |
void |
performUnloadService(javax.servlet.ServletRequest request,
java.lang.String collection)
Performs the ADL unload service. |
| 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.UnloadService createService(java.lang.String configurationFile)
throws InternalErrorException
UnloadService. If a service already
exists for the configuration file, the extant service's
reference count is incremented and it is returned instead.
configurationFile - The filename of a main middleware configuration file.
InternalErrorException - If the initialization of the service fails.
public void performUnloadService(javax.servlet.ServletRequest request,
java.lang.String collection)
throws MiddlewareException
request - The full request.collection - The name of the collection to unload, e.g.,
"adl_catalog".
BadRequestException - If request is invalid.
NoAuthorizationException - If the request is valid but not allowed.
InternalErrorException - If the request cannot otherwise be completed.
MiddlewareExceptionpublic void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||