Class TestOAuthConnectionProvider

java.lang.Object
org.mule.test.oauth.client.deprecated.TestOAuthConnectionProvider
All Implemented Interfaces:
org.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>

public class TestOAuthConnectionProvider extends Object implements org.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>
A dummy connection provider that will simulate creating an OAuth Dancer extending from AbstractOAuthDancer.

It will also start the dancer to detect interoperability issues between classes coming from different ClassLoaders.

  • Field Details

    • httpService

      @Inject protected org.mule.runtime.http.api.HttpService httpService
  • Constructor Details

    • TestOAuthConnectionProvider

      public TestOAuthConnectionProvider()
  • Method Details

    • connect

      public TestOAuthConnection connect() throws org.mule.runtime.api.connection.ConnectionException
      Specified by:
      connect in interface org.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>
      Throws:
      org.mule.runtime.api.connection.ConnectionException
    • disconnect

      public void disconnect(TestOAuthConnection connection)
      Specified by:
      disconnect in interface org.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>
    • validate

      public org.mule.runtime.api.connection.ConnectionValidationResult validate(TestOAuthConnection connection)
      Specified by:
      validate in interface org.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>