public class TransportEndpointDefinitionParser extends AddressedEndpointDefinitionParser
It generates both an endpoint (which should subclass ImmutableEndpoint
) and a
URIBuilder
. The URI is then injected into the endpoint. So the associated schema
can enable any of the suitable URIBuilder.ALL_ATTRIBUTES
or add appropriate mappings.
META, PROPERTIES, PROTOCOL, RESTRICTED_ENDPOINT_ATTRIBUTES
firstDefinition
logger
Constructor and Description |
---|
TransportEndpointDefinitionParser(String metaOrProtocol,
boolean isMeta,
Class endpoint,
String[] requiredAddressAttributes) |
TransportEndpointDefinitionParser(String metaOrProtocol,
boolean isMeta,
Class endpoint,
String[] requiredAddressAttributes,
String[] requiredProperties) |
TransportEndpointDefinitionParser(String metaOrProtocol,
boolean isMeta,
Class endpoint,
String[] endpointAttributes,
String[][] requiredAddressAttributes,
String[][] requiredProperties) |
TransportEndpointDefinitionParser(String metaOrProtocol,
boolean isMeta,
Class endpoint,
String[] endpointAttributes,
String[] addressAttributes,
String[][] requiredAddressAttributes,
String[][] requiredProperties) |
TransportEndpointDefinitionParser(String protocol,
Class endpoint,
String[] requiredAddressAttributes) |
addChildDelegate, addDelegate, addDelegateAsChild, doSingleBean
setReturnFirstResult
addHandledException, disableAttribute, disableAttributes, disableAttributes, enableAttribute, enableAttributes, enableAttributes, enableAttributes, isExceptionHandled, muleParse, resetAttribute, resetNameAndId
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, getBeanName, getDelegate, parseInternal, registerPostProcessor, registerPreProcessor, removeIgnored, setIgnoredDefault, size
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
public TransportEndpointDefinitionParser(String protocol, Class endpoint, String[] requiredAddressAttributes)
public TransportEndpointDefinitionParser(String metaOrProtocol, boolean isMeta, Class endpoint, String[] requiredAddressAttributes)
public TransportEndpointDefinitionParser(String metaOrProtocol, boolean isMeta, Class endpoint, String[] requiredAddressAttributes, String[] requiredProperties)
metaOrProtocol
- The transport metaOrProtocol ("tcp" etc)isMeta
- Whether transport is "meta" or not (eg cxf)endpoint
- The endpoint class to constructrequiredAddressAttributes
- A list of attribute names that are required if "address"
isn't presentrequiredProperties
- A list of property names that are required if "address" isn't presentpublic TransportEndpointDefinitionParser(String metaOrProtocol, boolean isMeta, Class endpoint, String[] endpointAttributes, String[][] requiredAddressAttributes, String[][] requiredProperties)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.