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.functional; 8 9 import org.mule.api.MuleContext; 10 import org.mule.transport.ConfigurableKeyedObjectPool; 11 import org.mule.transport.udp.UdpConnector; 12 13 /** 14 * Allows access to the dispatchers pool so we can ensure they're disposed 15 */ 16 public class CustomUdpConnector extends UdpConnector 17 { 18 public CustomUdpConnector(MuleContext context) 19 { 20 super(context); 21 } 22 23 public ConfigurableKeyedObjectPool getDispatchers() 24 { 25 return dispatchers; 26 } 27 } 28 29