Package org.apache.axis2.description
Class AxisEndpoint
- java.lang.Object
-
- org.apache.axis2.description.AxisDescription
-
- org.apache.axis2.description.AxisEndpoint
-
- All Implemented Interfaces:
DescriptionConstants
,ParameterInclude
public class AxisEndpoint extends AxisDescription
-
-
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 AxisEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyPolicy()
Applies the policies on the Description Hierarchy recursively.String
calculateEndpointURL()
String
calculateEndpointURL(String hostIP)
void
engageModule(AxisModule axisModule)
Engage a Module at this levelString
getAlias()
AxisService
getAxisService()
AxisBinding
getBinding()
String
getEndpointURL()
Object
getKey()
String
getName()
Object
getProperty(String name)
boolean
isActive()
boolean
isEngaged(String moduleName)
Check if a given module is engaged at this level.void
setAlias(String alias)
void
setBinding(AxisBinding binding)
void
setEndpointURL(String endpointURL)
void
setName(String name)
void
setParent(AxisService service)
void
setProperty(String name, Object value)
void
setTransportInDescription(String transportInDescName)
OMElement
toWSDL20(OMNamespace wsdl, OMNamespace tns, OMNamespace whttp)
-
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
-
getEndpointURL
public String getEndpointURL()
-
setEndpointURL
public void setEndpointURL(String endpointURL)
-
getProperty
public Object getProperty(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
-
getAlias
public String getAlias()
-
setAlias
public void setAlias(String alias)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getBinding
public AxisBinding getBinding()
-
setBinding
public void setBinding(AxisBinding binding)
-
getKey
public Object getKey()
- Specified by:
getKey
in classAxisDescription
-
engageModule
public void engageModule(AxisModule axisModule) throws AxisFault
Description copied from class:AxisDescription
Engage a Module at this level- Overrides:
engageModule
in 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:AxisDescription
Check if a given module is engaged at this level.- Overrides:
isEngaged
in 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 whttp)
-
getAxisService
public AxisService getAxisService()
-
setParent
public void setParent(AxisService service)
-
setTransportInDescription
public void setTransportInDescription(String transportInDescName)
-
calculateEndpointURL
public String calculateEndpointURL()
-
isActive
public boolean isActive()
-
applyPolicy
public void applyPolicy() throws AxisFault
Description copied from class:AxisDescription
Applies the policies on the Description Hierarchy recursively.- Overrides:
applyPolicy
in classAxisDescription
- Throws:
AxisFault
- an error occurred applying the policy
-
-