Package org.apache.axis2.description
Class TransportOutDescription
- java.lang.Object
-
- org.apache.axis2.description.TransportOutDescription
-
- All Implemented Interfaces:
ParameterInclude
public class TransportOutDescription extends Object implements ParameterInclude
Represents a transport deployed in AXis2
-
-
Field Summary
Fields Modifier and Type Field Description protected String
name
Field nameprotected ParameterInclude
paramInclude
Field paramIncludeprotected TransportSender
sender
-
Constructor Summary
Constructors Constructor Description TransportOutDescription(String name)
Constructor AxisTransport.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(Parameter param)
Method addParameter.void
deserializeParameters(OMElement parameterElement)
Flow
getFaultFlow()
Phase
getFaultPhase()
String
getName()
Flow
getOutFlow()
Phase
getOutPhase()
Parameter
getParameter(String name)
Method getParameter.ArrayList<Parameter>
getParameters()
Gets all the parameters in a given description.TransportSender
getSender()
boolean
isParameterLocked(String parameterName)
Checks whether the parameter is locked at any level.void
removeParameter(Parameter param)
void
setFaultFlow(Flow faultFlow)
void
setFaultPhase(Phase faultPhase)
void
setName(String name)
void
setOutFlow(Flow outFlow)
void
setOutPhase(Phase outPhase)
void
setSender(TransportSender sender)
-
-
-
Field Detail
-
name
protected String name
Field name
-
paramInclude
protected final ParameterInclude paramInclude
Field paramInclude
-
sender
protected TransportSender sender
-
-
Constructor Detail
-
TransportOutDescription
public TransportOutDescription(String name)
Constructor AxisTransport.- Parameters:
name
-
-
-
Method Detail
-
addParameter
public void addParameter(Parameter param) throws AxisFault
Method addParameter.- Specified by:
addParameter
in interfaceParameterInclude
- Parameters:
param
-- Throws:
AxisFault
-
removeParameter
public void removeParameter(Parameter param) throws AxisFault
- Specified by:
removeParameter
in interfaceParameterInclude
- Throws:
AxisFault
-
deserializeParameters
public void deserializeParameters(OMElement parameterElement) throws AxisFault
- Specified by:
deserializeParameters
in interfaceParameterInclude
- Throws:
AxisFault
-
getFaultFlow
public Flow getFaultFlow()
-
getFaultPhase
public Phase getFaultPhase()
-
getName
public String getName()
- Returns:
- Returns QName.
-
getOutFlow
public Flow getOutFlow()
-
getOutPhase
public Phase getOutPhase()
-
getParameter
public Parameter getParameter(String name)
Method getParameter.- Specified by:
getParameter
in interfaceParameterInclude
- Parameters:
name
-- Returns:
- Returns Parameter.
-
getParameters
public ArrayList<Parameter> getParameters()
Description copied from interface:ParameterInclude
Gets all the parameters in a given description.- Specified by:
getParameters
in interfaceParameterInclude
- Returns:
- Returns ArrayList.
-
getSender
public TransportSender getSender()
- Returns:
- Returns TransportSender.
-
isParameterLocked
public boolean isParameterLocked(String parameterName)
Description copied from interface:ParameterInclude
Checks whether the parameter is locked at any level.- Specified by:
isParameterLocked
in interfaceParameterInclude
-
setFaultFlow
public void setFaultFlow(Flow faultFlow)
-
setFaultPhase
public void setFaultPhase(Phase faultPhase)
-
setName
public void setName(String name)
- Parameters:
name
-
-
setOutFlow
public void setOutFlow(Flow outFlow)
-
setOutPhase
public void setOutPhase(Phase outPhase)
-
setSender
public void setSender(TransportSender sender)
- Parameters:
sender
-
-
-