org.apache.axis2.context
Class OperationContextFactory
java.lang.Object
org.apache.axis2.context.OperationContextFactory
- All Implemented Interfaces:
- WSDLConstants
- public class OperationContextFactory
- extends Object
- implements WSDLConstants
This is the factory for OperationContext.
Fields inherited from interface org.apache.axis2.wsdl.WSDLConstants |
MEP_CONSTANT_IN_ONLY, MEP_CONSTANT_IN_OPTIONAL_OUT, MEP_CONSTANT_IN_OUT, MEP_CONSTANT_INVALID, MEP_CONSTANT_OUT_IN, MEP_CONSTANT_OUT_ONLY, MEP_CONSTANT_OUT_OPTIONAL_IN, MEP_CONSTANT_ROBUST_IN_ONLY, MEP_CONSTANT_ROBUST_OUT_ONLY, MEP_URI_IN_ONLY, MEP_URI_IN_OPTIONAL_OUT, MEP_URI_IN_OUT, MEP_URI_OUT_IN, MEP_URI_OUT_ONLY, MEP_URI_OUT_OPTIONAL_IN, MEP_URI_ROBUST_IN_ONLY, MEP_URI_ROBUST_OUT_ONLY, MESSAGE_LABEL_FAULT_VALUE, MESSAGE_LABEL_IN, MESSAGE_LABEL_IN_VALUE, MESSAGE_LABEL_OUT, MESSAGE_LABEL_OUT_VALUE, POLICY, POLICY_REFERENCE, SCHEMA, SOAP_11_ADDRESS, SOAP_11_BINDING, SOAP_11_BODY, SOAP_11_HEADER, SOAP_11_OPERATION, SOAP_12_ADDRESS, SOAP_12_BINDING, SOAP_12_BODY, SOAP_12_HEADER, SOAP_12_OPERATION, STYLE_DOC, STYLE_MSG, STYLE_RPC, WSDL_1_1, WSDL_2_0, WSDL_4_J_DEFINITION, WSDL_MESSAGE_DIRECTION_IN, WSDL_MESSAGE_DIRECTION_OUT, WSDL_USE_ENCODED, WSDL_USE_LITERAL, WSDL1_1_NAMESPACE, WSDL2_0_NAMESPACE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationContextFactory
public OperationContextFactory()
createOperationContext
public static OperationContext createOperationContext(int mepURI,
AxisOperation axisOp)
throws AxisFault
- Creates the operation context. When you call this make sure you set the parent later.
- Parameters:
mepURI
- axisOp
-
- Returns:
- Returns OperationContext.
- Throws:
AxisFault
createOperationContext
public static OperationContext createOperationContext(int mepURI,
AxisOperation axisOp,
ServiceContext serviceContext)
throws AxisFault
- Throws:
AxisFault