NoOpSystemReadSide

public enum NoOpSystemReadSide implements SystemReadSide

An implementation of SystemReadSide which never performs an operation.

All the methods inherited from SystemReadSide exit without any action or exception.

This implementation is used by the system bounded context itself, since there is no system bounded context for a system bounded context.

Entries

Link copied to clipboard

Functions

Link copied to clipboard
public Iterator<EntityStateWithVersion> readDomainAggregate(Query query)
Executes the given query for a domain aggregate state.
Link copied to clipboard
public void register(EventDispatcher dispatcher)
Registers an event dispatcher for system events.
Link copied to clipboard
public void unregister(EventDispatcher dispatcher)
Removes the given system event dispatcher.
Link copied to clipboard
public static NoOpSystemReadSide valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<NoOpSystemReadSide> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Inherited functions

Link copied to clipboard
public static SystemReadSide newInstance(SystemContext context)
Creates a new instance of SystemReadSide for the given system context.