Package org.apache.axis2.description
Class AxisBindingOperation
- java.lang.Object
-
- org.apache.axis2.description.AxisDescription
-
- org.apache.axis2.description.AxisBindingOperation
-
- All Implemented Interfaces:
DescriptionConstants,ParameterInclude
public class AxisBindingOperation extends AxisDescription
An AxisBindingOperation represents a WSDL <bindingOperation>
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.description.AxisDescription
engagedModules, parameterObservers, parent
-
Fields inherited from interface org.apache.axis2.description.DescriptionConstants
CLASSLOADER_KEY, CONTEXTPATH_KEY, EXECUTION_CHAIN_KEY, EXECUTION_FAULT_CHAIN_KEY, EXECUTION_OUT_CHAIN_KEY, IN_FAULTFLOW_KEY, INFLOW_KEY, MESSAGE_RECEIVER_KEY, MODULEREF_KEY, OPERATION_KEY, OUT_FAULTFLOW_KEY, OUTFLOW_KEY, PARAMETER_KEY, PHASES_KEY, SERVICE_CLASS_NAME, STYLE_KEY
-
-
Constructor Summary
Constructors Constructor Description AxisBindingOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFault(AxisBindingMessage fault)voidapplyPolicy()Applies the policies on the Description Hierarchy recursively.voidengageModule(AxisModule axisModule)Engage a Module at this levelAxisBindinggetAxisBinding()AxisOperationgetAxisOperation()org.apache.neethi.PolicygetEffectivePolicy()AxisBindingMessagegetFault(String name)ArrayList<AxisBindingMessage>getFaults()ObjectgetKey()QNamegetName()ObjectgetProperty(String name)booleanisEngaged(String moduleName)Check if a given module is engaged at this level.voidsetAxisOperation(AxisOperation axisOperation)voidsetName(QName name)voidsetProperty(String name, Object value)OMElementtoWSDL20(OMNamespace wsdl, OMNamespace tns, OMNamespace wsoap, OMNamespace whttp, String type, Map<String,String> namespaceMap, String serviceName)Generates the bindingOperation element-
Methods inherited from class org.apache.axis2.description.AxisDescription
addChild, addChild, addParameter, addParameter, addParameterObserver, applyPolicy, deserializeParameters, disengageModule, engageModule, getAxisConfiguration, getChild, getChildren, getDocumentation, getDocumentationNode, getEngagedModules, getParameter, getParameters, getParameterValue, getParent, getPolicyInclude, getPolicySubject, isEngaged, isParameterLocked, isParameterTrue, onDisengage, onEngage, removeChild, removeParameter, removeParameterObserver, setDocumentation, setDocumentation, setParent, setPolicyInclude
-
-
-
-
Method Detail
-
getFaults
public ArrayList<AxisBindingMessage> getFaults()
-
getFault
public AxisBindingMessage getFault(String name)
-
addFault
public void addFault(AxisBindingMessage fault)
-
getName
public QName getName()
-
setName
public void setName(QName name)
-
getAxisOperation
public AxisOperation getAxisOperation()
-
setAxisOperation
public void setAxisOperation(AxisOperation axisOperation)
-
getKey
public Object getKey()
- Specified by:
getKeyin classAxisDescription
-
engageModule
public void engageModule(AxisModule axisModule) throws AxisFault
Description copied from class:AxisDescriptionEngage a Module at this level- Overrides:
engageModulein classAxisDescription- Parameters:
axisModule- the Module to engage- Throws:
AxisFault- if there's a problem engaging
-
isEngaged
public boolean isEngaged(String moduleName)
Description copied from class:AxisDescriptionCheck if a given module is engaged at this level.- Overrides:
isEngagedin classAxisDescription- Parameters:
moduleName- module to investigate.- Returns:
- true if engaged, false if not. TODO: Handle versions? isEngaged("addressing") should be true even for versioned modulename...
-
toWSDL20
public OMElement toWSDL20(OMNamespace wsdl, OMNamespace tns, OMNamespace wsoap, OMNamespace whttp, String type, Map<String,String> namespaceMap, String serviceName)
Generates the bindingOperation element- Parameters:
wsdl- The WSDL namespacetns- The targetnamespacewsoap- The SOAP namespace (WSDL 2.0)whttp- The HTTP namespace (WSDL 2.0)type- Indicates whether the binding is SOAP or HTTPnamespaceMap- the service's namespace map (prefix -> namespace)serviceName- the name of the service- Returns:
- The generated binding element
-
getEffectivePolicy
public org.apache.neethi.Policy getEffectivePolicy()
-
getAxisBinding
public AxisBinding getAxisBinding()
-
applyPolicy
public void applyPolicy() throws AxisFaultDescription copied from class:AxisDescriptionApplies the policies on the Description Hierarchy recursively.- Overrides:
applyPolicyin classAxisDescription- Throws:
AxisFault- an error occurred applying the policy
-
-