org.apache.axis2.corba.receivers
Class CorbaUtil
java.lang.Object
org.apache.axis2.corba.receivers.CorbaUtil
- All Implemented Interfaces:
- CorbaConstants
public class CorbaUtil
- extends java.lang.Object
- implements CorbaConstants
Fields inherited from interface org.apache.axis2.corba.deployer.CorbaConstants |
ARRAY_ITEM, DEFAULR_ORB_CLASS, DEFAULT_ORBSINGLETON_CLASS, DEFAULT_SCHEMA_NAMESPACE_PREFIX, FAULT, FORM_DEFAULT_UNQUALIFIED, HTTP, IDL_FILE, IDL_LITERAL, INTERFACE_NAME, IOR_FILE_PATH, IOR_STRING, NAME_SPACE_PREFIX, NAMING_SERVICE_URL, OBJECT_NAME, ORB_CLASS, ORB_LITERAL, ORB_SINGLETON_CLASS, ORG_OMG_CORBA_ORBCLASS, ORG_OMG_CORBA_ORBSINGLETON_CLASS, PACKAGE_CLASS_DELIMITER, RESPONSE, RETURN_WRAPPER, SCHEMA_NAMESPACE_EXTN, URI_2001_SCHEMA_XSD, VOID |
Method Summary |
static java.lang.Object[] |
extractParameters(org.apache.axiom.om.OMElement methodElement,
Member[] parameterMembers)
|
static java.lang.Object |
extractValue(DataType returnType,
org.omg.CORBA.Any returned)
|
static java.lang.Object |
getEmptyValue(DataType type)
|
static IDL |
getIDL(AxisService service,
org.omg.CORBA_2_3.ORB orb,
java.lang.String dirName)
|
static Invoker |
getInvoker(AxisService service,
org.omg.CORBA.Object obj,
IDL idl,
java.lang.String methodName)
|
static org.omg.CORBA_2_3.ORB |
getORB(AxisService service)
|
static java.lang.String |
getQualifiedName(DataType type)
|
static void |
insertValue(org.omg.CORBA.Any arg,
DataType type,
java.lang.Object value)
|
static java.lang.Object |
parseValue(DataType type,
java.lang.String value)
|
static void |
processResponse(java.lang.Object resObject,
Member[] params,
java.lang.Object[] outParamValues,
DataType dataType,
AxisService service,
java.lang.String methodName,
org.apache.axiom.soap.SOAPFactory fac,
java.lang.String messageNameSpace,
MessageContext outMessage)
|
static org.omg.CORBA.Object |
resolveObject(AxisService service,
org.omg.CORBA_2_3.ORB orb)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CorbaUtil
public CorbaUtil()
getORB
public static org.omg.CORBA_2_3.ORB getORB(AxisService service)
resolveObject
public static org.omg.CORBA.Object resolveObject(AxisService service,
org.omg.CORBA_2_3.ORB orb)
throws CorbaInvocationException
- Throws:
CorbaInvocationException
getIDL
public static IDL getIDL(AxisService service,
org.omg.CORBA_2_3.ORB orb,
java.lang.String dirName)
throws CorbaException
- Throws:
CorbaException
getInvoker
public static Invoker getInvoker(AxisService service,
org.omg.CORBA.Object obj,
IDL idl,
java.lang.String methodName)
throws CorbaInvocationException
- Throws:
CorbaInvocationException
extractParameters
public static java.lang.Object[] extractParameters(org.apache.axiom.om.OMElement methodElement,
Member[] parameterMembers)
throws CorbaInvocationException
- Throws:
CorbaInvocationException
processResponse
public static void processResponse(java.lang.Object resObject,
Member[] params,
java.lang.Object[] outParamValues,
DataType dataType,
AxisService service,
java.lang.String methodName,
org.apache.axiom.soap.SOAPFactory fac,
java.lang.String messageNameSpace,
MessageContext outMessage)
throws AxisFault
- Throws:
AxisFault
getQualifiedName
public static java.lang.String getQualifiedName(DataType type)
insertValue
public static void insertValue(org.omg.CORBA.Any arg,
DataType type,
java.lang.Object value)
extractValue
public static java.lang.Object extractValue(DataType returnType,
org.omg.CORBA.Any returned)
parseValue
public static java.lang.Object parseValue(DataType type,
java.lang.String value)
getEmptyValue
public static java.lang.Object getEmptyValue(DataType type)
Copyright © 2007 Apache Web Services Project. All Rights Reserved.