org.apache.axis2.description
Class AxisBinding

java.lang.Object
  extended byorg.apache.axis2.description.AxisDescription
      extended byorg.apache.axis2.description.AxisBinding
All Implemented Interfaces:
DescriptionConstants, ParameterInclude

public class AxisBinding
extends AxisDescription


Field Summary
 
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
AxisBinding()
           
 
Method Summary
 void addFault(AxisBindingMessage fault)
           
 void engageModule(AxisModule axisModule, AxisConfiguration axisConfig)
          Engaging a module to different level
 org.apache.neethi.Policy getEffectivePolicy()
           
 AxisBindingMessage getFault(java.lang.String name)
           
 java.lang.Object getKey()
           
 javax.xml.namespace.QName getName()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.String getType()
           
 boolean isEngaged(java.lang.String moduleName)
           
 void setName(javax.xml.namespace.QName name)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 void setType(java.lang.String type)
           
 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, java.lang.String interfaceName, java.util.Map nameSpaceMap, java.lang.String addressingFlag)
          Generates the binding element
 
Methods inherited from class org.apache.axis2.description.AxisDescription
addChild, addChild, addParameter, applyPolicy, applyPolicy, deserializeParameters, getAxisConfiguration, getChild, getChildren, getParameter, getParameters, getParameterValue, getParent, getPolicyInclude, isParameterLocked, removeChild, removeParameter, setParent, setPolicyInclude
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisBinding

public AxisBinding()
Method Detail

getFault

public AxisBindingMessage getFault(java.lang.String name)

addFault

public void addFault(AxisBindingMessage fault)

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)

getProperty

public java.lang.Object getProperty(java.lang.String name)
Parameters:
name - name of the property to search for
Returns:
the value of the property, or null if the property is not found

getName

public javax.xml.namespace.QName getName()

setName

public void setName(javax.xml.namespace.QName name)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getKey

public java.lang.Object getKey()
Specified by:
getKey in class AxisDescription

engageModule

public void engageModule(AxisModule axisModule,
                         AxisConfiguration axisConfig)
                  throws AxisFault
Description copied from class: AxisDescription
Engaging a module to different level

Specified by:
engageModule in class AxisDescription
Parameters:
axisModule -
axisConfig -
Throws:
AxisFault

isEngaged

public boolean isEngaged(java.lang.String moduleName)
Specified by:
isEngaged in class AxisDescription

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,
                                              java.lang.String interfaceName,
                                              java.util.Map nameSpaceMap,
                                              java.lang.String addressingFlag)
Generates the binding element

Parameters:
tns - - The targetnamespace
wsoap - - The SOAP namespace (WSDL 2.0)
whttp - - The HTTP namespace (WSDL 2.0)
interfaceName - - The name of the interface
nameSpaceMap - - The namespacemap of the service
Returns:
The generated binding element

getEffectivePolicy

public org.apache.neethi.Policy getEffectivePolicy()


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.