Interface CachedConnectionProvider<C>

Type Parameters:
C - the generic type of the connections to be handled
All Superinterfaces:
ConnectionProvider<C>

@MinMuleVersion("4.5") public interface CachedConnectionProvider<C> extends ConnectionProvider<C>
A ConnectionProvider specialization which lazily creates and caches connections.

This interface is declarative. The actual caching is not implemented on the provider itself but performed by the runtime, which will correlate each invocation to the ConnectionProvider.connect() method to the component requesting the connection.

Since:
1.0