|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.sru.bridge.V1Bridge
org.jafer.sru.bridge.SRUtoSRWBridge
public class SRUtoSRWBridge
This class processes an SRU operation by calling the prefined SRW instance and returning the result to the caller. The SOAP envelope will be excluded from any responses.
Field Summary | |
---|---|
private SRUtoSRWConfig |
config
Stores a reference to configuration information for the bridge |
private static java.lang.String |
DEFAULT_VERSION
Stores a reference to explain operation name |
private static java.lang.String |
EXPLAIN_OPERATION
Stores a reference to explain operation name |
private static java.lang.String |
OPERATION_KEY
Stores a reference to key used to find the requested operation |
private java.net.URL |
serviceURL
Stores a reference to the web service URL. |
private static java.lang.String |
VERSION_KEY
Stores a reference to key used to find the requested operation |
Constructor Summary | |
---|---|
SRUtoSRWBridge(java.lang.String url)
Creates an instance of the SRUtoSRWBridge specifying the URL to use to find the web service |
Method Summary | |
---|---|
private OperationBridge |
createOperationBridgeClass(java.lang.String operation,
java.lang.String version)
Instantiates and returns the bridge class for the specified operation and version |
java.lang.String |
processRequest(java.util.Map parameters)
Processes the request given the map of parameters |
Methods inherited from class org.jafer.sru.bridge.V1Bridge |
---|
createExplainDiagnosticResponse, createScanDiagnosticResponse, createSearchDiagnosticResponse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.net.URL serviceURL
private static final java.lang.String OPERATION_KEY
private static final java.lang.String VERSION_KEY
private static final java.lang.String EXPLAIN_OPERATION
private static final java.lang.String DEFAULT_VERSION
private SRUtoSRWConfig config
Constructor Detail |
---|
public SRUtoSRWBridge(java.lang.String url) throws SRUException, java.net.MalformedURLException
url
- The url to use with this web service handler
SRUException
java.net.MalformedURLException
Method Detail |
---|
public java.lang.String processRequest(java.util.Map parameters)
parameters
- The paramaters that defines the SRU call in form Key to
StringValue
private OperationBridge createOperationBridgeClass(java.lang.String operation, java.lang.String version) throws SRUException
operation
- The operation being performedversion
- The operations version
SRUException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |