Interface ConnectionProviderFactory<T>
- Type Parameters:
T- the generic type for the connections that the returnedprovidersproduce
public interface ConnectionProviderFactory<T>
Creates instances of
ConnectionProvider for the generic Config and Connection types.
Instances are thread-safe and reusable.
- Since:
- 1.0
-
Method Details
-
newInstance
org.mule.runtime.api.connection.ConnectionProvider<T> newInstance()- Returns:
- a new
ConnectionProvider
-
getObjectType
Class<? extends org.mule.runtime.api.connection.ConnectionProvider> getObjectType()Returns the concrete type of the object to be returned by this instance- Returns:
- a
Class
-