Class HeisenbergConnectionProvider
java.lang.Object
org.mule.test.heisenberg.extension.HeisenbergConnectionProvider
- All Implemented Interfaces:
org.mule.runtime.api.connection.ConnectionProvider<HeisenbergConnection>
- Direct Known Subclasses:
SecureHeisenbergConnectionProvider
@ExternalLib(name="Heisenberg.so",
description="Native Heisenberg support",
nameRegexpMatcher="heisenberg.so",
requiredClassName="org.heisenberg.HeisenbergJNI",
type=NATIVE)
@Deprecated(message="Usages of this connection provider must be change to the secure option, this will lower the chances of getting caught by the DEA",
since="1.3.0",
toRemoveIn="2.0.0")
public class HeisenbergConnectionProvider
extends Object
implements org.mule.runtime.api.connection.ConnectionProvider<HeisenbergConnection>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnect()voiddisconnect(HeisenbergConnection heisenbergConnection) static Set<HeisenbergConnection>static intstatic intorg.mule.runtime.api.connection.ConnectionValidationResultvalidate(HeisenbergConnection heisenbergConnection)
-
Field Details
-
SAUL_OFFICE_NUMBER
- See Also:
-
-
Constructor Details
-
HeisenbergConnectionProvider
public HeisenbergConnectionProvider()
-
-
Method Details
-
connect
- Specified by:
connectin interfaceorg.mule.runtime.api.connection.ConnectionProvider<HeisenbergConnection>- Throws:
org.mule.runtime.api.connection.ConnectionException
-
disconnect
- Specified by:
disconnectin interfaceorg.mule.runtime.api.connection.ConnectionProvider<HeisenbergConnection>
-
validate
public org.mule.runtime.api.connection.ConnectionValidationResult validate(HeisenbergConnection heisenbergConnection) - Specified by:
validatein interfaceorg.mule.runtime.api.connection.ConnectionProvider<HeisenbergConnection>
-
getConnects
public static int getConnects() -
getDisconnects
public static int getDisconnects() -
getActiveConnections
-