public interface MessageDispatcherProvider<T extends MessageDispatcher> extends ConnectionProvider<T>
ConnectionProvider
specialization that handles MessageDispatcher
connections that are bundled to
a SoapServiceProvider
, which are created from when the SoapServiceProvider
is created.Modifier and Type | Method and Description |
---|---|
default ConnectionValidationResult |
validate(T connection)
Deprecated.
|
default ConnectionValidationResult |
validate(T connection,
SoapServiceProvider provider)
Validates the given
T . |
connect, disconnect
default ConnectionValidationResult validate(T connection, SoapServiceProvider provider)
T
.
In invalid connection case, the ConnectionValidationResult
should also return a valid
message ConnectionValidationResult.getMessage()
, exception ConnectionValidationResult.getException()
and code ConnectionValidationResult.getErrorType()
connection
- a non null
T
.ConnectionValidationResult
indicating if the connection
is valid or not.@Deprecated default ConnectionValidationResult validate(T connection)
validate(MessageDispatcher, SoapServiceProvider)
C
.
In invalid connection case, the ConnectionValidationResult
should also return a valid
message ConnectionValidationResult.getMessage()
, exception ConnectionValidationResult.getException()
and code ConnectionValidationResult.getErrorType()
validate
in interface ConnectionProvider<T extends MessageDispatcher>
connection
- a non null
C
.ConnectionValidationResult
indicating if the connection
is valid or not.Copyright © 2018. All rights reserved.