public abstract static class MessageAdapter.ConfigurableFactory extends com.devexperts.connector.proto.ConfigurableObject implements MessageAdapter.Factory, ConfigurableMessageAdapterFactory
Constructor and Description |
---|
ConfigurableFactory() |
Modifier and Type | Method and Description |
---|---|
MessageAdapter.ConfigurableFactory |
clone()
Creates a copy of this factory with the same configuration.
|
abstract MessageAdapter |
createAdapter(QDStats stats)
Creates message adapter.
|
MessageAdapter.Factory |
createMessageAdapterFactory(String spec)
This implementation uses
clone() and spec
to set FILTER_CONFIGURATION_KEY if spec is not empty. |
<T> T |
getEndpoint(Class<T> endpointClass) |
<T> void |
setEndpoint(Class<?> endpointClass,
T endpointInstance) |
String |
toString()
Returns description of this factory for management and logging purposes.
|
public abstract MessageAdapter createAdapter(QDStats stats)
createAdapter
in interface MessageAdapter.Factory
stats
- stats node for the adapter.public MessageAdapter.ConfigurableFactory clone()
clone
in class com.devexperts.connector.proto.ConfigurableObject
public final MessageAdapter.Factory createMessageAdapterFactory(String spec) throws AddressSyntaxException
clone()
and spec
to set FILTER_CONFIGURATION_KEY
if spec is not empty.createMessageAdapterFactory
in interface ConfigurableMessageAdapterFactory
AddressSyntaxException
- if spec is illegal or not supported.public String toString()
public <T> void setEndpoint(Class<?> endpointClass, T endpointInstance)
public <T> T getEndpoint(Class<T> endpointClass)
Copyright © 2002–2025 Devexperts LLC. All rights reserved.