NoOpSystemClient

public enum NoOpSystemClient implements SystemClient

An implementation of SystemClient which never performs an action.

When requested for a read/write side of a system context, always obtains a NOP implementation.

An instance of NoOpSystemClient serves as the system client in the system contexts themselves.

Entries

Link copied to clipboard

Functions

Link copied to clipboard
public void closeSystemContext()
Closes the underlying system context.
Link copied to clipboard
Obtains the system context read side.
Link copied to clipboard
public Optional<Repository<? extends Object, ? extends Object>> systemRepositoryFor(Class<? extends EntityState> stateClass)
Finds a system repository by the state class of entities.
Link copied to clipboard
public static NoOpSystemClient 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<NoOpSystemClient> 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.

Link copied to clipboard
Obtains the system context write side.