Internal Access
Provides access to features of BoundedContext used internally by the framework.
Functions
Link copied to clipboard
Link copied to clipboard
Obtains an IntegrationBroker of this
BoundedContext
.Link copied to clipboard
public Optional<Repository<? extends Object, ? extends Object>> findRepository(Class<? extends EntityState> stateClass)
Finds a repository by the state class of entities.
Link copied to clipboard
Obtains the repository of the context by the type URL of the entity state..
public Repository<? extends Object, ? extends Object> getRepository(Class<? extends EntityState> stateClass)
Obtains the repository of the context by the type of the entity state.
Link copied to clipboard
public BoundedContext.InternalAccess register(Repository<? extends Object, ? extends Object> repository)
Registers the passed repository.
Link copied to clipboard
Registers the passed command dispatcher.
Link copied to clipboard
Registers the passed event dispatcher.
Link copied to clipboard
Obtains a tenant index of this Bounded Context.