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 fromAbstractOAuthDancer.It will also start the dancer to detect interoperability issues between classes coming from different ClassLoaders.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.mule.runtime.http.api.HttpServicehttpService
-
Constructor Summary
Constructors Constructor Description TestOAuthConnectionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestOAuthConnectionconnect()voiddisconnect(TestOAuthConnection connection)org.mule.runtime.api.connection.ConnectionValidationResultvalidate(TestOAuthConnection connection)
-
-
-
Method Detail
-
connect
public TestOAuthConnection connect() throws org.mule.runtime.api.connection.ConnectionException
- Specified by:
connectin interfaceorg.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>- Throws:
org.mule.runtime.api.connection.ConnectionException
-
disconnect
public void disconnect(TestOAuthConnection connection)
- Specified by:
disconnectin interfaceorg.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>
-
validate
public org.mule.runtime.api.connection.ConnectionValidationResult validate(TestOAuthConnection connection)
- Specified by:
validatein interfaceorg.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>
-
-