org.apache.juddi.v3.client.transport.wrapper
Class RequestHandler
java.lang.Object
org.apache.juddi.v3.client.transport.wrapper.RequestHandler
public class RequestHandler
- extends java.lang.Object
- Author:
- Tom Cunningham (tcunning@apache.org), 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 version 2.0
UDDI requests are supported).
- Parameters:
uddiReq -
- Returns:
-
- Throws:
java.lang.Exception
getText
public static java.lang.String getText(org.w3c.dom.Element element)
throws javax.xml.transform.TransformerException
- Throws:
javax.xml.transform.TransformerException
invoke
public org.w3c.dom.Node invoke(org.w3c.dom.Element uddiReq)
throws java.lang.Exception
- Throws:
java.lang.Exception
getOperation
public java.lang.String getOperation()
setOperation
public void setOperation(java.lang.String operation)
getPortType
public java.rmi.Remote getPortType()
setPortType
public void setPortType(java.rmi.Remote portType)
getMethodName
public java.lang.String getMethodName()
setMethodName
public void setMethodName(java.lang.String methodName)
getOperationClass
public java.lang.Class<?> getOperationClass()
setOperationClass
public void setOperationClass(java.lang.Class<?> operationClass)
getVersion
public java.lang.String getVersion()
setVersion
public void setVersion(java.lang.String version)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.