Interface ConnectionProviderFactory<T>

Type Parameters:
T - the generic type for the connections that the returned providers produce

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 Summary

    Modifier and Type
    Method
    Description
    Class<? extends org.mule.runtime.api.connection.ConnectionProvider>
    Returns the concrete type of the object to be returned by this instance
    org.mule.runtime.api.connection.ConnectionProvider<T>
     
  • 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