Builder

public class Builder extends BusBuilder<B, T, E, C, D>

The builder for ImportBus.

Functions

Link copied to clipboard
public ImportBus build()
Creates new instance of Bus with the set parameters.
Link copied to clipboard
protected ImportBus.Registry newRegistry()
Link copied to clipboard
protected ImportBus.Builder self()
Returns this reference to avoid redundant casts.

Inherited functions

Link copied to clipboard
public final B addListener(Listener<E> listener)
Adds a listener of the message posted to the bus being build.
Link copied to clipboard
public final B appendFilter(BusFilter<E> filter)
Adds the given filter to the builder.
Link copied to clipboard
protected void checkFieldsSet()
Link copied to clipboard
protected final BoundedContext context()
Link copied to clipboard
public final Iterable<BusFilter<E>> filters()
Obtains the filters added to this this builder by the time of the call.
Link copied to clipboard
public B injectContext(BoundedContext context)
Link copied to clipboard
public B injectSystem(SystemWriteSide writeSide)
Inject the SystemWriteSide of the Bounded Context to which the built bus belongs.
Link copied to clipboard
Inject the TenantIndex of the Bounded Context to which the built bus belongs.
Link copied to clipboard
public final Set<Listener<E>> listeners()
Obtains immutable set of listeners added to the builder by the time of the call.
Link copied to clipboard
public final B removeListener(Listener<E> listener)
Removes the listener.
Link copied to clipboard
Obtains a SystemWriteSide set in the builder.
Link copied to clipboard
Obtains a TenantIndex set in the builder.