org.apache.axis2.corba.receivers
Class CorbaUtil
java.lang.Object
org.apache.axis2.corba.receivers.CorbaUtil
- All Implemented Interfaces:
- CorbaConstants
public class CorbaUtil
- extends 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 Object[] |
extractParameters(org.apache.axiom.om.OMElement methodElement,
Member[] parameterMembers)
|
static Object |
extractValue(DataType returnType,
Any returned)
|
static Object |
getEmptyValue(DataType type)
|
static IDL |
getIDL(AxisService service,
ORB orb,
String dirName)
|
static Invoker |
getInvoker(AxisService service,
Object obj,
IDL idl,
String methodName)
|
static ORB |
getORB(AxisService service)
|
static String |
getQualifiedName(DataType type)
|
static void |
insertValue(Any arg,
DataType type,
Object value)
|
static Object |
parseValue(DataType type,
String value)
|
static void |
processResponse(Object resObject,
Member[] params,
Object[] outParamValues,
DataType dataType,
AxisService service,
String methodName,
org.apache.axiom.soap.SOAPFactory fac,
String messageNameSpace,
MessageContext outMessage)
|
static Object |
resolveObject(AxisService service,
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 ORB getORB(AxisService service)
resolveObject
public static Object resolveObject(AxisService service,
ORB orb)
throws CorbaInvocationException
- Throws:
CorbaInvocationException
getIDL
public static IDL getIDL(AxisService service,
ORB orb,
String dirName)
throws CorbaException
- Throws:
CorbaException
getInvoker
public static Invoker getInvoker(AxisService service,
Object obj,
IDL idl,
String methodName)
throws CorbaInvocationException
- Throws:
CorbaInvocationException
extractParameters
public static Object[] extractParameters(org.apache.axiom.om.OMElement methodElement,
Member[] parameterMembers)
throws CorbaInvocationException
- Throws:
CorbaInvocationException
processResponse
public static void processResponse(Object resObject,
Member[] params,
Object[] outParamValues,
DataType dataType,
AxisService service,
String methodName,
org.apache.axiom.soap.SOAPFactory fac,
String messageNameSpace,
MessageContext outMessage)
throws AxisFault
- Throws:
AxisFault
getQualifiedName
public static String getQualifiedName(DataType type)
insertValue
public static void insertValue(Any arg,
DataType type,
Object value)
extractValue
public static Object extractValue(DataType returnType,
Any returned)
parseValue
public static Object parseValue(DataType type,
String value)
getEmptyValue
public static Object getEmptyValue(DataType type)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.