public class DefaultEndpointFactory extends EndpointFactory
DefaultEndpoint using a XML configuration.
Configuration syntax:
<endpoint [name="name"]>
<default [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 | Constructor and Description |
|---|---|
protected |
DefaultEndpointFactory() |
| 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.
|
protected void |
extractSpecificEndpointProperties(EndpointDefinition definition,
org.apache.axiom.om.OMElement elem) |
static DefaultEndpointFactory |
getInstance() |
protected void |
processAuditStatus(EndpointDefinition definition,
String name,
org.apache.axiom.om.OMElement epOmElement) |
getEndpointDefinitionFactory, getEndpointFromElement, getEndpointFromElement, getEndpoints, getObjectFromOMNode, handleException, handleException, processProperties, setEndpointDefinitionFactorypublic static DefaultEndpointFactory getInstance()
protected Endpoint createEndpoint(org.apache.axiom.om.OMElement epConfig, boolean anonymousEndpoint, Properties properties)
EndpointFactorycreateEndpoint in class EndpointFactoryepConfig - 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 factoryprotected void extractSpecificEndpointProperties(EndpointDefinition definition, org.apache.axiom.om.OMElement elem)
extractSpecificEndpointProperties in class EndpointFactorypublic EndpointDefinition createEndpointDefinition(org.apache.axiom.om.OMElement elem)
elem - XML configuration elementprotected void processAuditStatus(EndpointDefinition definition, String name, org.apache.axiom.om.OMElement epOmElement)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.