Package org.apache.axis2.description
Class AxisBinding
java.lang.Object
org.apache.axis2.description.AxisDescription
org.apache.axis2.description.AxisBinding
- All Implemented Interfaces:
DescriptionConstants,ParameterInclude
An AxisBinding represents a WSDL binding, and contains AxisBindingOperations.
-
Field Summary
Fields inherited from class org.apache.axis2.description.AxisDescription
engagedModules, parameterObservers, parentFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFault(AxisBindingMessage fault) voidApplies the policies on the Description Hierarchy recursively.voidengageModule(AxisModule axisModule) Engage a Module at this levelorg.apache.neethi.PolicygetKey()getName()getProperty(String name) getType()booleanCheck if a given module is engaged at this level.voidvoidsetProperty(String name, Object value) voidorg.apache.axiom.om.OMElementtoWSDL20(org.apache.axiom.om.OMNamespace wsdl, org.apache.axiom.om.OMNamespace tns, org.apache.axiom.om.OMNamespace wsoap, org.apache.axiom.om.OMNamespace whttp, String interfaceName, Map nameSpaceMap, String addressingFlag, String serviceName, org.apache.axiom.om.OMNamespace wsaw) Generate the <binding> elementMethods inherited from class org.apache.axis2.description.AxisDescription
addChild, addChild, addParameter, addParameter, addParameterObserver, applyPolicy, deserializeParameters, disengageModule, engageModule, getAxisConfiguration, getChild, getDocumentation, getDocumentationNode, getEngagedModules, getParameter, getParameters, getParameterValue, getParent, getPolicyInclude, getPolicySubject, isEngaged, isParameterLocked, isParameterTrue, onDisengage, onEngage, removeChild, removeParameter, removeParameterObserver, setDocumentation, setDocumentation, setParent, setPolicyInclude
-
Constructor Details
-
AxisBinding
public AxisBinding()
-
-
Method Details
-
getFault
-
addFault
-
setProperty
-
getProperty
- Parameters:
name- name of the property to search for- Returns:
- the value of the property, or null if the property is not found
-
getName
-
setName
-
getType
-
setType
-
getKey
- Specified by:
getKeyin classAxisDescription
-
engageModule
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
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 org.apache.axiom.om.OMElement toWSDL20(org.apache.axiom.om.OMNamespace wsdl, org.apache.axiom.om.OMNamespace tns, org.apache.axiom.om.OMNamespace wsoap, org.apache.axiom.om.OMNamespace whttp, String interfaceName, Map nameSpaceMap, String addressingFlag, String serviceName, org.apache.axiom.om.OMNamespace wsaw) Generate the <binding> element- Parameters:
wsdl- the WSDL namespacetns- the target namespacewsoap- the SOAP namespacewhttp- the HTTP namespaceinterfaceName- the name of the interfacenameSpaceMap- the namespaceMap (prefix -> namespaceURI) of the serviceaddressingFlag- addressing usage flag (see AddressingConstants)serviceName- the name of the service- Returns:
- the generated binding element
-
getEffectivePolicy
public org.apache.neethi.Policy getEffectivePolicy() -
getAxisEndpoint
-
getChildren
- Overrides:
getChildrenin classAxisDescription
-
applyPolicy
Description copied from class:AxisDescriptionApplies the policies on the Description Hierarchy recursively.- Overrides:
applyPolicyin classAxisDescription- Throws:
AxisFault- an error occurred applying the policy
-