Interface ConnectorProvider

All Known Implementing Classes:
ConnectorProviderImpl

public interface ConnectorProvider
Contract to be implemented by any object that can provide a Connector to another object.

Connectors are quite expensive to instantiate and obtain. Therefore this contract is generally used where you want to lazily provide a connector in a situation where it is not know if a connector is actually required (maybe due to caching etc.) until runtime.

Author:
Kevin Roast
  • Method Summary

    Modifier and Type
    Method
    Description
    provide(String endpoint)
    Builds a Connector object mounted against the given endpoint