public class AddressEndpointFactory extends DefaultEndpointFactory
AddressEndpoint
using a XML configuration.
Configuration syntax:
<endpoint [name="name"]> <address uri="endpoint address" [format="soap11|soap12|pox|get"] [optimize="mtom|swa"] [encoding="charset encoding"] [statistics="enable|disable"] [trace="enable|disable"]> .. extensibility .. <enableSec [policy="key"]/>? <enableAddressing [version="final|submission"] [separateListener="true|false"]/>? <timeout> <duration>timeout duration in seconds</duration> <responseAction>discard|fault</responseAction> </timeout>? <suspendDurationOnFailure> suspend duration in seconds </suspendDurationOnFailure>? </address> </endpoint>
ON_FAULT_Q
Modifier and Type | Method and Description |
---|---|
protected Endpoint |
createEndpoint(org.apache.axiom.om.OMElement epConfig,
boolean anonymousEndpoint,
Properties properties)
Creates the Endpoint implementation for the given XML endpoint configuration.
|
EndpointDefinition |
createEndpointDefinition(org.apache.axiom.om.OMElement elem)
Creates an EndpointDefinition instance using the XML fragment specification.
|
static AddressEndpointFactory |
getInstance() |
extractSpecificEndpointProperties, processAuditStatus
getEndpointDefinitionFactory, getEndpointFromElement, getEndpointFromElement, getEndpoints, getObjectFromOMNode, handleException, handleException, processProperties, setEndpointDefinitionFactory
public static AddressEndpointFactory getInstance()
protected Endpoint createEndpoint(org.apache.axiom.om.OMElement epConfig, boolean anonymousEndpoint, Properties properties)
EndpointFactory
createEndpoint
in class DefaultEndpointFactory
epConfig
- OMElement containing the endpoint configuration.anonymousEndpoint
- false if the endpoint has a name. true otherwise.properties
- bag of properties to pass in any information to the factorypublic EndpointDefinition createEndpointDefinition(org.apache.axiom.om.OMElement elem)
createEndpointDefinition
in class DefaultEndpointFactory
elem
- XML configuration elementCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.