org.apache.juddi.registry.local
Class RequestHandler
java.lang.Object
org.apache.juddi.registry.local.RequestHandler
- All Implemented Interfaces:
- java.lang.Runnable
public class RequestHandler
- extends java.lang.Object
- implements java.lang.Runnable
- Author:
- Kurt Stam (kurt.stam@redhat.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestHandler
public RequestHandler()
getOperation
public java.lang.String getOperation(org.w3c.dom.Element uddiReq)
throws java.lang.Exception
- Grab the local name of the UDDI request element
from the UDDI Request. If a value isn't returned
(either null or an empty String is returned) then
throw a FatalError exception. This is probably a
configuration problem related to the XML Parser
that jUDDI is using.
- Parameters:
uddiReq
-
- Returns:
-
- Throws:
java.lang.Exception
getVersion
public java.lang.String getVersion(org.w3c.dom.Element uddiReq,
java.lang.String operation)
throws java.lang.Exception
- Grab the generic attribute value (version value). If
one isn't specified or the value specified is not "2.0"
then throw an exception (this value must be specified
for all UDDI requests and currently only vesion 2.0
UDDI requests are supported).
- Parameters:
uddiReq
-
- Returns:
-
- Throws:
java.lang.Exception
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
getOperation
public java.lang.String getOperation()
setOperation
public void setOperation(java.lang.String operation)
getResponse
public org.w3c.dom.Node getResponse()
setResponse
public void setResponse(org.w3c.dom.Node response)
getUddiReq
public org.w3c.dom.Element getUddiReq()
setUddiReq
public void setUddiReq(org.w3c.dom.Element uddiReq)
getVersion
public java.lang.String getVersion()
setVersion
public void setVersion(java.lang.String version)
getException
public java.lang.String getException()
setException
public void setException(java.lang.String exception)
Copyright © 2004-2007. All Rights Reserved.