org.mule.endpoint
Class SimpleEndpointCache

java.lang.Object
  extended by org.mule.endpoint.SimpleEndpointCache
All Implemented Interfaces:
EndpointCache

public class SimpleEndpointCache
extends Object
implements EndpointCache

Cache endpoints in order to prevent memory leaks. see MULE-5422


Field Summary
protected  MuleContext muleContext
           
 
Constructor Summary
SimpleEndpointCache(MuleContext muleContext)
           
 
Method Summary
 InboundEndpoint getInboundEndpoint(String uri, MessageExchangePattern mep)
           
 OutboundEndpoint getOutboundEndpoint(String uri, MessageExchangePattern mep, Long responseTimeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

muleContext

protected MuleContext muleContext
Constructor Detail

SimpleEndpointCache

public SimpleEndpointCache(MuleContext muleContext)
Method Detail

getOutboundEndpoint

public OutboundEndpoint getOutboundEndpoint(String uri,
                                            MessageExchangePattern mep,
                                            Long responseTimeout)
                                     throws MuleException
Specified by:
getOutboundEndpoint in interface EndpointCache
Throws:
MuleException

getInboundEndpoint

public InboundEndpoint getInboundEndpoint(String uri,
                                          MessageExchangePattern mep)
                                   throws MuleException
Specified by:
getInboundEndpoint in interface EndpointCache
Throws:
MuleException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.