Package 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
-
-
Field Summary
-
Fields inherited from interface org.apache.axis2.corba.deployer.CorbaConstants
ANY_TYPE_NAME, ARRAY_ITEM, DEFAULR_ORB_CLASS, DEFAULT_ORBSINGLETON_CLASS, DEFAULT_SCHEMA_NAMESPACE_PREFIX, FAULT, FORM_DEFAULT_QUALIFIED, 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, SCHEMA_TO_IDL_MAPPING_LITERAL, TYPECODE_TYPE_NAME, URI_2001_SCHEMA_XSD, VOID
-
-
Constructor Summary
Constructors Constructor Description CorbaUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object[]
extractParameters(org.apache.axiom.om.OMElement methodElement, Member[] parameterMembers, SchemaToIDLMapping mapping)
static Object
extractValue(DataType returnType, Any returned)
static Object
getEmptyValue(DataType type)
static IDL
getIDL(org.apache.axis2.description.AxisService service, ORB orb, String dirName)
static Invoker
getInvoker(org.apache.axis2.description.AxisService service, Object obj, IDL idl, String methodName)
static ORB
getORB(org.apache.axis2.description.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, org.apache.axis2.description.AxisService service, String methodName, org.apache.axiom.soap.SOAPFactory fac, String messageNameSpace, org.apache.axis2.context.MessageContext outMessage)
static Object
resolveObject(org.apache.axis2.description.AxisService service, ORB orb)
-
-
-
Method Detail
-
getORB
public static ORB getORB(org.apache.axis2.description.AxisService service)
-
resolveObject
public static Object resolveObject(org.apache.axis2.description.AxisService service, ORB orb) throws CorbaInvocationException
- Throws:
CorbaInvocationException
-
getIDL
public static IDL getIDL(org.apache.axis2.description.AxisService service, ORB orb, String dirName) throws CorbaException
- Throws:
CorbaException
-
getInvoker
public static Invoker getInvoker(org.apache.axis2.description.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, SchemaToIDLMapping mapping) throws CorbaInvocationException
- Throws:
CorbaInvocationException
-
processResponse
public static void processResponse(Object resObject, Member[] params, Object[] outParamValues, DataType dataType, org.apache.axis2.description.AxisService service, String methodName, org.apache.axiom.soap.SOAPFactory fac, String messageNameSpace, org.apache.axis2.context.MessageContext outMessage) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
-