Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
UdpNamespaceHandler |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.transport.udp.config; | |
8 | ||
9 | import org.mule.config.spring.handlers.AbstractMuleNamespaceHandler; | |
10 | import org.mule.endpoint.URIBuilder; | |
11 | import org.mule.transport.udp.UdpConnector; | |
12 | ||
13 | /** | |
14 | * Reigsters a Bean Definition Parser for handling UDP specific elements. | |
15 | * | |
16 | */ | |
17 | 0 | public class UdpNamespaceHandler extends AbstractMuleNamespaceHandler |
18 | { | |
19 | ||
20 | public void init() | |
21 | { | |
22 | 0 | registerStandardTransportEndpoints(UdpConnector.UDP, URIBuilder.SOCKET_ATTRIBUTES); |
23 | 0 | registerConnectorDefinitionParser(UdpConnector.class); |
24 | 0 | } |
25 | ||
26 | } |