org.apache.axis2.context
Class OperationContextFactory

java.lang.Object
  extended byorg.apache.axis2.context.OperationContextFactory
All Implemented Interfaces:
org.apache.wsdl.WSDLConstants

public class OperationContextFactory
extends Object
implements org.apache.wsdl.WSDLConstants

This is the factory for OperationContext.


Field Summary
 
Fields inherited from interface org.apache.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, WSDL_1_1, WSDL_2_0, WSDL_MESSAGE_DIRECTION_IN, WSDL_MESSAGE_DIRECTION_OUT, WSDL_USE_ENCODED, WSDL_USE_LITERAL, WSDL1_1_NAMESPACE, WSDL2_0_NAMESPACE
 
Constructor Summary
OperationContextFactory()
           
 
Method Summary
static OperationContext createOperationContext(int mepURI, AxisOperation axisOp)
          Creates the operation context.
static OperationContext createOperationContext(int mepURI, AxisOperation axisOp, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationContextFactory

public OperationContextFactory()
Method Detail

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