public abstract class ContextAwareMessageDispatcherProvider<T extends MessageDispatcher> extends Object implements MessageDispatcherProvider<T>
Constructor and Description |
---|
ContextAwareMessageDispatcherProvider() |
Modifier and Type | Method and Description |
---|---|
T |
connect()
This method should not be used, instead use
connect(DispatchingContext) . |
abstract T |
connect(DispatchingContext client) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate, validate
disconnect
public ContextAwareMessageDispatcherProvider()
public abstract T connect(DispatchingContext client)
client
- a well initialized extensions client, ready to execute operations.MessageDispatcher
that uses an ExtensionsClient
.public final T connect() throws ConnectionException
connect(DispatchingContext)
.
If an extension client is not required then only implements MessageDispatcherProvider
.
connect
in interface ConnectionProvider<T extends MessageDispatcher>
Connection
ConnectionException
Copyright © 2018. All rights reserved.