Package org.apache.axis2.description
Class TransportInDescription
- java.lang.Object
-
- org.apache.axis2.description.TransportInDescription
-
- All Implemented Interfaces:
ParameterInclude
public class TransportInDescription extends Object implements ParameterInclude
Represents an incoming transport deployed in Axis2.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
name
Field nameprotected ParameterInclude
paramInclude
Field paramIncludeprotected TransportListener
receiver
-
Constructor Summary
Constructors Constructor Description TransportInDescription(String name)
-
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()
Flow
getInFlow()
Phase
getInPhase()
String
getName()
Get Transport name as a QNameParameter
getParameter(String name)
Method getParameter.ArrayList<Parameter>
getParameters()
Gets all the parameters in a given description.TransportListener
getReceiver()
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
setInFlow(Flow inFlow)
void
setInPhase(Phase inPhase)
void
setName(String name)
void
setReceiver(TransportListener receiver)
-
-
-
Field Detail
-
name
protected String name
Field name
-
paramInclude
protected final ParameterInclude paramInclude
Field paramInclude
-
receiver
protected TransportListener receiver
-
-
Constructor Detail
-
TransportInDescription
public TransportInDescription(String 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()
-
getInFlow
public Flow getInFlow()
-
getInPhase
public Phase getInPhase()
-
getName
public String getName()
Get Transport name as a QName- Returns:
- Returns QName.
-
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.
-
getReceiver
public TransportListener getReceiver()
- Returns:
- Returns TransportListener.
-
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)
-
setInFlow
public void setInFlow(Flow inFlow)
-
setInPhase
public void setInPhase(Phase inPhase)
-
setName
public void setName(String name)
- Parameters:
name
-
-
setReceiver
public void setReceiver(TransportListener receiver)
- Parameters:
receiver
-
-
-