View Javadoc

1   /*
2    * $Id$
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.transport.udp.functional;
12  
13  import org.mule.api.MuleContext;
14  import org.mule.transport.ConfigurableKeyedObjectPool;
15  import org.mule.transport.udp.UdpConnector;
16  
17  /**
18   * Allows access to the dispatchers pool so we can ensure they're disposed
19   */
20  public class CustomUdpConnector extends UdpConnector
21  {
22      public CustomUdpConnector(MuleContext context)
23      {
24          super(context);
25      }
26      
27      public ConfigurableKeyedObjectPool getDispatchers() 
28      {
29          return dispatchers;
30      }
31  }
32  
33