ConnectionFactory implementation that delegates
all calls to a given target ConnectionFactory.
This class is meant to be subclassed, with subclasses overriding
only those methods (such as create()) that should not simply
delegate to the target ConnectionFactory.
create()
| Modifier and Type | Field and Description |
|---|---|
| private final ConnectionFactory |
| Access | Constructor and Description |
|---|---|
| public | DelegatingConnectionFactory(ConnectionFactory
the target ConnectionFactory targetConnectionFactory)Create a new DelegatingConnectionFactory. |
| Modifier and Type | Method and Description |
|---|---|
| public Mono | |
| public ConnectionFactoryMetadata | getMetadata()
Implements io. ConnectionFactoryMetadata about the product this ConnectionFactory is applicable to.
|
| public ConnectionFactory | getTargetConnectionFactory()
Return the target ConnectionFactory that this ConnectionFactory delegates to. |
| public ConnectionFactory | unwrap()
Implements io. |
| targetConnectionFactory | back to summary |
|---|---|
| private final ConnectionFactory targetConnectionFactory | |
| DelegatingConnectionFactory | back to summary |
|---|---|
| public DelegatingConnectionFactory(ConnectionFactory targetConnectionFactory) Create a new DelegatingConnectionFactory.
| |
| create | back to summary |
|---|---|
| public Mono Implements io. Doc from io. Creates a new
| |
| getMetadata | back to summary |
|---|---|
| public ConnectionFactoryMetadata getMetadata() Implements io. Doc from io. Returns the
| |
| getTargetConnectionFactory | back to summary |
|---|---|
| public ConnectionFactory getTargetConnectionFactory() Return the target ConnectionFactory that this ConnectionFactory delegates to. | |
| unwrap | back to summary |
|---|---|
| public ConnectionFactory unwrap() Implements io. Doc from io. Returns the original instance wrapped by this object.
| |