Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractDomainEvent - Class in com.reallifedeveloper.common.domain.event
-
An abstract base class for domain events.
- AbstractDomainEvent() - Constructor for class com.reallifedeveloper.common.domain.event.AbstractDomainEvent
-
Creates a new
AbstractDomainEventthat occurred now and has a version of 1. - AbstractDomainEvent(int) - Constructor for class com.reallifedeveloper.common.domain.event.AbstractDomainEvent
-
Creates a new
AbstractDomainEventthat occurred now and has the given version. - AbstractDomainEvent(ZonedDateTime) - Constructor for class com.reallifedeveloper.common.domain.event.AbstractDomainEvent
-
Creates a new
AbstractDomainEventthat occurred at the given time and has a version of 1. - AbstractDomainEvent(ZonedDateTime, int) - Constructor for class com.reallifedeveloper.common.domain.event.AbstractDomainEvent
-
Creates a new
AbstractDomainEventthat occurred at the given time and has the given version. - AbstractDomainRegistry - Class in com.reallifedeveloper.common.domain.registry
-
Base class for Spring-based domain registries.
- AbstractDomainRegistry() - Constructor for class com.reallifedeveloper.common.domain.registry.AbstractDomainRegistry
- AbstractValueObject<T> - Class in com.reallifedeveloper.common.domain
-
An abstract base class that should be used when creating value objects.
- AbstractValueObject() - Constructor for class com.reallifedeveloper.common.domain.AbstractValueObject
- add(DomainEvent) - Method in class com.reallifedeveloper.common.application.eventstore.EventStore
-
Adds a new
StoredEventrepresenting the givenDomainEventto the event store. - AggregateRoot<T extends DomainEntity<T,
?>> - Interface in com.reallifedeveloper.common.domain -
A domain-driven design aggregate root.
- allEventsBetween(long, long) - Method in class com.reallifedeveloper.common.application.eventstore.EventStore
-
Gives all
StoredEventswith IDs greater than or equal tofirstStoredEventIdand less than or equals tolastStoredEventId, i.e., all events that occurred between the events with the given IDs, inclusive. - allEventsBetween(long, long) - Method in interface com.reallifedeveloper.common.application.eventstore.StoredEventRepository
-
Gives all
StoredEventswith IDs greater than or equal tofirstStoredEventIdand less than or equal tolastStoredEventId, i.e., all events that occurred between the events with the given IDs, inclusive. - allEventsBetween(long, long) - Method in interface com.reallifedeveloper.common.infrastructure.persistence.JpaStoredEventRepository
- allEventsSince(long) - Method in class com.reallifedeveloper.common.application.eventstore.EventStore
-
Gives all
StoredEventswith IDs greater thanstoredEventId, i.e., all events that occurred after the event with the given ID. - allEventsSince(long) - Method in interface com.reallifedeveloper.common.application.eventstore.StoredEventRepository
-
Gives all
StoredEventswith IDs greater thanstoredEventId, i.e., all events that occurred after the event with the given ID. - allEventsSince(long) - Method in interface com.reallifedeveloper.common.infrastructure.persistence.JpaStoredEventRepository
- API_KEY_HTTP_HEADER - Static variable in class com.reallifedeveloper.common.resource.BaseResource
-
The optional HTTP header that holds the API key of the calling system.
- API_KEY_QUERY_PARAMETER - Static variable in class com.reallifedeveloper.common.resource.BaseResource
-
The optional query parameter that holds the API key of the calling system.
- applySecurityConfiguration(String, String, Map<String, Object>) - Static method in class com.reallifedeveloper.common.infrastructure.messaging.KafkaSecurityConfiguration
-
Sets the value of a configuration property.
B
- badRequest(String) - Static method in class com.reallifedeveloper.common.resource.ResourceUtil
-
Gives a
WebApplicationExceptionwith HTTP status 400 and the given message as plain text in the body. - BaseJpaEntity<ID> - Class in com.reallifedeveloper.common.infrastructure.persistence
-
Base class for all JPA entities.
- BaseJpaEntity() - Constructor for class com.reallifedeveloper.common.infrastructure.persistence.BaseJpaEntity
-
Creates a new
AbstractJpaEntitywith null ID. - BaseJpaEntity(ID) - Constructor for class com.reallifedeveloper.common.infrastructure.persistence.BaseJpaEntity
-
Creates a new
AbstractJpaEntitywith the given ID. - BaseJpaRepository - Class in com.reallifedeveloper.common.infrastructure.persistence
-
Base class for implementations of repositories that use JPA but that cannot use Spring Data, e.g., because they work with more than one entity type.
- BaseJpaRepository() - Constructor for class com.reallifedeveloper.common.infrastructure.persistence.BaseJpaRepository
-
Creates a new
BaseJpaRepository, intended to be used by sub-classes. - BaseResource - Class in com.reallifedeveloper.common.resource
-
A base class for JAX-RS resources.
- BaseResource() - Constructor for class com.reallifedeveloper.common.resource.BaseResource
-
Creates a new
BaseResource, intended to be used by sub-classes. - BATCH_SIZE - Static variable in class com.reallifedeveloper.common.resource.notification.NotificationResource
-
The maximum number of notifications returned by
NotificationResource.getCurrentNotificationLog(UriInfo). - batchSize() - Method in class com.reallifedeveloper.common.application.notification.NotificationLogId
-
Gives the batch size of the
NotificationLogwith thisNotificationLogId, i.e., the number ofNotificationsit can hold.
C
- CACHE_1_HOUR - Static variable in class com.reallifedeveloper.common.resource.BaseResource
-
A handy value to provide to the
ResourceUtil.cacheControl(int)method to cache a result for one hour. - cacheControl(int) - Static method in class com.reallifedeveloper.common.resource.ResourceUtil
-
Gives a
CacheControlobject with themax-agedirective set to the given value. - canHandle(String) - Method in class com.reallifedeveloper.common.infrastructure.Markdown4jHtmlProducer
- canHandle(String) - Method in interface com.reallifedeveloper.common.resource.documentation.HtmlProducer
-
Shows if this
HtmlProducercan handle the given resource or not. - checkAbandoned() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Forces an abandon check on the connection pool.
- checkAbandoned() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
- checkIdle() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Forces a check for resizing of the idle connections.
- checkIdle() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
- checkNull(String, Object) - Static method in class com.reallifedeveloper.common.domain.ErrorHandling
-
Fails if
arg1isnull, throwing anIllegalArgumentExceptionwith a formatted message based onmessageTemplate. - checkNull(String, Object, Object) - Static method in class com.reallifedeveloper.common.domain.ErrorHandling
-
Fails if
arg1orarg2isnull, throwing anIllegalArgumentExceptionwith a formatted message based onmessageTemplate. - checkNull(String, Object, Object, Object) - Static method in class com.reallifedeveloper.common.domain.ErrorHandling
-
Fails if
arg1,arg2orarg3isnull, throwing anIllegalArgumentExceptionwith a formatted message based onmessageTemplate. - checkNull(String, Object, Object, Object, Object) - Static method in class com.reallifedeveloper.common.domain.ErrorHandling
-
Fails if
arg1,arg2,arg3orarg4isnull, throwing anIllegalArgumentExceptionwith a formatted message based onmessageTemplate. - checkNull(String, Object, Object, Object, Object, Object) - Static method in class com.reallifedeveloper.common.domain.ErrorHandling
-
Fails if any of
arg1througharg5isnull, throwing anIllegalArgumentExceptionwith a formatted message based onmessageTemplate. - checkNull(String, Object, Object, Object, Object, Object, Object) - Static method in class com.reallifedeveloper.common.domain.ErrorHandling
-
Fails if any of
arg1througharg6isnull, throwing anIllegalArgumentExceptionwith a formatted message based onmessageTemplate. - checkNull(String, Object, Object, Object, Object, Object, Object, Object) - Static method in class com.reallifedeveloper.common.domain.ErrorHandling
-
Fails if any of
arg1througharg7isnull, throwing anIllegalArgumentExceptionwith a formatted message based onmessageTemplate. - checkNull(String, Object, Object, Object, Object, Object, Object, Object, Object) - Static method in class com.reallifedeveloper.common.domain.ErrorHandling
-
Fails if any of
arg1througharg8isnull, throwing anIllegalArgumentExceptionwith a formatted message based onmessageTemplate. - checkNullOrBlank(String, String) - Static method in class com.reallifedeveloper.common.domain.ErrorHandling
-
Fails if the string
sisnullor blank, throwing anIllegalArgumentExceptionwith a formatted message based onmessageTemplate. - clear() - Method in class com.reallifedeveloper.common.domain.event.EventSavingSubscriber
-
Removes all handled events.
- ClockTimeService - Class in com.reallifedeveloper.common.domain
-
An implementation of the
TimeServiceinterface that uses ajava.time.Clock. - ClockTimeService() - Constructor for class com.reallifedeveloper.common.domain.ClockTimeService
- com.reallifedeveloper.common.application.eventstore - package com.reallifedeveloper.common.application.eventstore
-
An implementation of an event store, i.e., a way to persist domain events.
- com.reallifedeveloper.common.application.notification - package com.reallifedeveloper.common.application.notification
-
Code to notify other systems about domain events that have occurred in this system and that have been saved in an
EventStore. - com.reallifedeveloper.common.domain - package com.reallifedeveloper.common.domain
-
Support classes and interfaces for creating and documenting domain-driven designs.
- com.reallifedeveloper.common.domain.event - package com.reallifedeveloper.common.domain.event
-
Support classes and interfaces for publishing and handling domain events.
- com.reallifedeveloper.common.domain.registry - package com.reallifedeveloper.common.domain.registry
-
Support classes for working with domain registries.
- com.reallifedeveloper.common.infrastructure - package com.reallifedeveloper.common.infrastructure
-
Concrete implementations of interfaces in the
com.reallifedeveloper.commonpackage. - com.reallifedeveloper.common.infrastructure.jmx - package com.reallifedeveloper.common.infrastructure.jmx
-
MBeans for monitoring through JMX.
- com.reallifedeveloper.common.infrastructure.messaging - package com.reallifedeveloper.common.infrastructure.messaging
-
Support classes for working with message queues.
- com.reallifedeveloper.common.infrastructure.persistence - package com.reallifedeveloper.common.infrastructure.persistence
-
Support classes for creating JPA repositories.
- com.reallifedeveloper.common.resource - package com.reallifedeveloper.common.resource
-
Common JAX-RS resources.
- com.reallifedeveloper.common.resource.documentation - package com.reallifedeveloper.common.resource.documentation
-
A JAX-RS resource to present API documentation.
- com.reallifedeveloper.common.resource.notification - package com.reallifedeveloper.common.resource.notification
-
REST-ful resources and representations for working with
Notifications. - commaSeparatedStringToList(String) - Method in class com.reallifedeveloper.common.resource.BaseResource
-
Given a comma-separated list, this methods returns a list containing the constituent strings, with leading and trailing whitespace removed.
- CommonDomainRegistry - Class in com.reallifedeveloper.common.domain.registry
-
A registry of common domain components that need to be available in code where it is not practical to use dependency injection.
- CommonDomainRegistry() - Constructor for class com.reallifedeveloper.common.domain.registry.CommonDomainRegistry
- ConnectionPoolConfiguratorMXBean - Interface in com.reallifedeveloper.common.infrastructure.jmx
-
A JMX MBean interface for monitoring and controlling database connection pools.
- create(DomainEvent, Long) - Static method in record class com.reallifedeveloper.common.application.notification.Notification
-
A factory method that sets the
eventTypeto the name of the event class andoccurredOnto the date and time when the event occurred. - created() - Method in class com.reallifedeveloper.common.infrastructure.persistence.TimestampedJpaEntity
-
Gives the time and date that the entity was created.
- current() - Method in record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Returns the value of the
currentrecord component. - currentNotificationLog(int) - Method in class com.reallifedeveloper.common.application.notification.NotificationService
-
Gives a
NotificationLogcontaining the most recentNotifications.
D
- DATE_FORMAT - Static variable in class com.reallifedeveloper.common.infrastructure.GsonObjectSerializer
-
The format used to parse and format date objects.
- DATE_FORMAT - Static variable in class com.reallifedeveloper.common.resource.BaseResource
-
The standard format for dates, without time.
- DATE_TIME_FORMAT - Static variable in class com.reallifedeveloper.common.infrastructure.GsonObjectSerializer
-
The format used to parse and format
java.time.ZonedDateTimeobjects. - deserialize(String, Class<U>) - Method in class com.reallifedeveloper.common.infrastructure.GsonObjectSerializer
- deserialize(T, Class<U>) - Method in interface com.reallifedeveloper.common.domain.ObjectSerializer
-
Given the serialized representation of an object, converts it back to the object.
- DocumentationResource - Class in com.reallifedeveloper.common.resource.documentation
-
A JAX-RS resource that produces HTML documentation from resources on the classpath.
- DocumentationResource(String, HtmlProducer) - Constructor for class com.reallifedeveloper.common.resource.documentation.DocumentationResource
-
Creates a new
DocumentationResourcethat reads documents from the specified resource directory, converting them to HTML using the givenHtmlProducer. - DomainEntity<T,
ID extends Serializable> - Interface in com.reallifedeveloper.common.domain -
A domain-driven design entity, i.e., an object that is not defined by its attributes, but rather by a thread of continuity and its identity.
- DomainEvent - Interface in com.reallifedeveloper.common.domain.event
-
A domain-driven design domain event, i.e., something that happened that domain experts care about.
- domainEventPublisher() - Static method in class com.reallifedeveloper.common.domain.registry.CommonDomainRegistry
-
Gives the
DomainEventPublisherto use to publish domain events. - DomainEventPublisher - Interface in com.reallifedeveloper.common.domain.event
-
A publisher of domain events.
- DomainEventSubscriber<T extends DomainEvent> - Interface in com.reallifedeveloper.common.domain.event
-
A handler of domain events.
- DomainObject<T> - Interface in com.reallifedeveloper.common.domain
-
A domain object, i.e., an
entityor avalue object.
E
- equals(Object) - Method in class com.reallifedeveloper.common.domain.event.AbstractDomainEvent
- equals(Object) - Method in record class com.reallifedeveloper.common.application.notification.Notification
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.reallifedeveloper.common.domain.AbstractValueObject
- ErrorHandling - Class in com.reallifedeveloper.common.domain
-
Utility class for simplifying error handling.
- ErrorHandling() - Constructor for class com.reallifedeveloper.common.domain.ErrorHandling
- event() - Method in record class com.reallifedeveloper.common.application.notification.Notification
-
Returns the value of the
eventrecord component. - eventBody() - Method in class com.reallifedeveloper.common.application.eventstore.StoredEvent
-
Gives the string representation of the domain event represented by this
StoredEvent. - eventDoubleValue(String) - Method in interface com.reallifedeveloper.common.application.notification.NotificationReader
-
Gives the double value of a field in the domain event.
- eventDoubleValue(String) - Method in class com.reallifedeveloper.common.infrastructure.GsonNotificationReader
- eventIntValue(String) - Method in interface com.reallifedeveloper.common.application.notification.NotificationReader
-
Gives the integer value of a field in the domain event.
- eventIntValue(String) - Method in class com.reallifedeveloper.common.infrastructure.GsonNotificationReader
- eventLongValue(String) - Method in interface com.reallifedeveloper.common.application.notification.NotificationReader
-
Gives the long integer value of a field in the domain event.
- eventLongValue(String) - Method in class com.reallifedeveloper.common.infrastructure.GsonNotificationReader
- eventOccurredOn() - Method in class com.reallifedeveloper.common.domain.event.AbstractDomainEvent
- eventOccurredOn() - Method in interface com.reallifedeveloper.common.domain.event.DomainEvent
-
Gives the time the event occurred.
- events() - Method in class com.reallifedeveloper.common.domain.event.EventSavingSubscriber
-
Gives an unmodifiable list of the events that have been handled so far.
- EventSavingSubscriber - Class in com.reallifedeveloper.common.domain.event
-
A
DomainEventSubscriberthat saves all events in memory. - EventSavingSubscriber() - Constructor for class com.reallifedeveloper.common.domain.event.EventSavingSubscriber
- EventStore - Class in com.reallifedeveloper.common.application.eventstore
- EventStore(ObjectSerializer<String>, StoredEventRepository) - Constructor for class com.reallifedeveloper.common.application.eventstore.EventStore
-
Creates a new
EventStorewith the given serializer and repository. - EventStoringSubscriber - Class in com.reallifedeveloper.common.application.eventstore
-
A
DomainEventSubscriberthat stores all events using aEventStore. - EventStoringSubscriber(EventStore) - Constructor for class com.reallifedeveloper.common.application.eventstore.EventStoringSubscriber
-
Creates a new
EventStoringSubscriberthat uses the givenEventStore. - eventStringValue(String) - Method in interface com.reallifedeveloper.common.application.notification.NotificationReader
-
Gives the string value of a field in the domain event.
- eventStringValue(String) - Method in class com.reallifedeveloper.common.infrastructure.GsonNotificationReader
- eventType() - Method in class com.reallifedeveloper.common.application.eventstore.EventStoringSubscriber
- eventType() - Method in class com.reallifedeveloper.common.application.eventstore.StoredEvent
-
Gives the class name of the domain event represented by this
StoredEvent. - eventType() - Method in record class com.reallifedeveloper.common.application.notification.Notification
-
Returns the value of the
eventTyperecord component. - eventType() - Method in interface com.reallifedeveloper.common.application.notification.NotificationReader
-
Gives the name of the domain event class.
- eventType() - Method in interface com.reallifedeveloper.common.domain.event.DomainEventSubscriber
-
Gives the type of domain event to handle.
- eventType() - Method in class com.reallifedeveloper.common.domain.event.EventSavingSubscriber
- eventType() - Method in class com.reallifedeveloper.common.domain.event.LoggingDomainEventSubscriber
- eventType() - Method in class com.reallifedeveloper.common.infrastructure.GsonNotificationReader
- eventVersion() - Method in interface com.reallifedeveloper.common.application.notification.NotificationReader
-
Gives the version of the domain event.
- eventVersion() - Method in class com.reallifedeveloper.common.domain.event.AbstractDomainEvent
- eventVersion() - Method in interface com.reallifedeveloper.common.domain.event.DomainEvent
-
Gives the version of this event.
- eventVersion() - Method in class com.reallifedeveloper.common.infrastructure.GsonNotificationReader
- externalForm() - Method in class com.reallifedeveloper.common.application.notification.NotificationLogId
-
Gives a standard string representation of this
NotificationLogId, on the form "<low>,<high>".
F
- finalize() - Method in class com.reallifedeveloper.common.application.notification.NotificationService
-
Deprecated.
- finalize() - Method in class com.reallifedeveloper.common.domain.event.AbstractDomainEvent
-
Make finalize method final to avoid "Finalizer attacks" and corresponding SpotBugs warning (CT_CONSTRUCTOR_THROW).
- finalize() - Method in class com.reallifedeveloper.common.infrastructure.persistence.BaseJpaEntity
-
Deprecated.
- findById(ID) - Method in interface com.reallifedeveloper.common.domain.Repository
-
Gives the entity with the given id.
- findByPublicationChannel(String) - Method in interface com.reallifedeveloper.common.application.notification.PublishedMessageTrackerRepository
-
Gives the
PublishedMessageTrackerassociated with the given publication channel, if available. - fromStoredEvent(StoredEvent) - Method in class com.reallifedeveloper.common.application.notification.NotificationFactory
-
Creates a new
Notificationfor the givenStoredEvent. - fromStoredEvents(List<StoredEvent>) - Method in class com.reallifedeveloper.common.application.notification.NotificationFactory
-
Creates new
Notificationsfor the givenStoredEvents.
G
- getActive() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Gives the number of connections in use by the application.
- getActive() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
- getBean(Class<T>) - Static method in class com.reallifedeveloper.common.domain.registry.AbstractDomainRegistry
-
Looks up the Spring bean of the given type.
- getBuildTime() - Method in class com.reallifedeveloper.common.infrastructure.jmx.ServletContextSystemInfo
- getBuildTime() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.SystemInfoMXBean
-
Gives the date and time the system was built.
- getCurrentNotificationLog(UriInfo) - Method in class com.reallifedeveloper.common.resource.notification.NotificationResource
-
Gives the most recent notifications.
- getDocumentation() - Method in class com.reallifedeveloper.common.resource.documentation.DocumentationResource
-
Reads a default document (index.md or readme.md) from the resource directory and converts it to HTML.
- getDocumentation(String) - Method in class com.reallifedeveloper.common.resource.documentation.DocumentationResource
-
Reads a document from the resource directory and converts it to HTML.
- getDriverClassName() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Gives the fully qualified Java class name of the JDBC driver used.
- getDriverClassName() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
- getEvent() - Method in class com.reallifedeveloper.common.resource.notification.NotificationRepresentation
-
Gives the serialized form of the domain event.
- getEventType() - Method in class com.reallifedeveloper.common.resource.notification.NotificationRepresentation
-
Gives the name of the domain event class.
- getIdle() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Gives the number of established but idle connections.
- getIdle() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
- getLoggers() - Method in class com.reallifedeveloper.common.infrastructure.jmx.Log4jConfigurator
- getLoggers() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.LogConfiguratorMXBean
-
Gives a list with the names of the loggers defined.
- getLogLevel(String) - Method in class com.reallifedeveloper.common.infrastructure.jmx.Log4jConfigurator
- getLogLevel(String) - Method in interface com.reallifedeveloper.common.infrastructure.jmx.LogConfiguratorMXBean
-
Gives the log level of the named logger.
- getNext() - Method in class com.reallifedeveloper.common.resource.notification.NotificationLogRepresentation
-
Gives a canonical link to the next set of notifications.
- getNotificationLog(String, UriInfo) - Method in class com.reallifedeveloper.common.resource.notification.NotificationResource
-
Gives a specific set of notifications.
- getOccurredOn() - Method in class com.reallifedeveloper.common.resource.notification.NotificationRepresentation
-
Gives the date and time the domain event occurred.
- getPrevious() - Method in class com.reallifedeveloper.common.resource.notification.NotificationLogRepresentation
-
Gives a canonical link to the previous set of notifications.
- getQueryString(String, Class<?>...) - Method in class com.reallifedeveloper.common.infrastructure.persistence.BaseJpaRepository
-
Gives the value of the
@Queryannotation on the given method. - getScmRevision() - Method in class com.reallifedeveloper.common.infrastructure.jmx.ServletContextSystemInfo
- getScmRevision() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.SystemInfoMXBean
-
Gives the revision number of the system in version control.
- getSelf() - Method in class com.reallifedeveloper.common.resource.notification.NotificationLogRepresentation
-
Gives a canonical link to the current set of notifications.
- getSize() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Gives the current size of the pool.
- getSize() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
- getStoredEventId() - Method in class com.reallifedeveloper.common.resource.notification.NotificationRepresentation
-
Gives the ID of the stored event represented by the notification.
- getUrl() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Gives the URL used to connect to the database.
- getUrl() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
- getVersion() - Method in class com.reallifedeveloper.common.infrastructure.jmx.ServletContextSystemInfo
- getVersion() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.SystemInfoMXBean
-
Gives the system version.
- getWaitCount() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Gives the number of threads waiting for a connection.
- getWaitCount() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
- GsonNotificationReader - Class in com.reallifedeveloper.common.infrastructure
-
An implementation of the
NotificationReaderinterface that works with JSON as the serialized form, using Gson to parse the JSON string. - GsonNotificationReader(String) - Constructor for class com.reallifedeveloper.common.infrastructure.GsonNotificationReader
-
Creates a new
GsonNotificationReaderthat parses the given JSON-serialized notification. - GsonObjectSerializer - Class in com.reallifedeveloper.common.infrastructure
-
An implementation of the
ObjectSerializerthat uses JSON as the serialized form. - GsonObjectSerializer() - Constructor for class com.reallifedeveloper.common.infrastructure.GsonObjectSerializer
-
Creates a new
GsonObjectSerializerwith default values.
H
- handleError(String, Exception) - Method in class com.reallifedeveloper.common.resource.BaseResource
-
Use this method to translate an exception to the appropriate
WebApplicationException. - handleEvent(DomainEvent) - Method in class com.reallifedeveloper.common.application.eventstore.EventStoringSubscriber
- handleEvent(DomainEvent) - Method in class com.reallifedeveloper.common.domain.event.EventSavingSubscriber
- handleEvent(DomainEvent) - Method in class com.reallifedeveloper.common.domain.event.LoggingDomainEventSubscriber
- handleEvent(T) - Method in interface com.reallifedeveloper.common.domain.event.DomainEventSubscriber
-
Handles the given event.
- hashCode() - Method in record class com.reallifedeveloper.common.application.notification.Notification
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Returns a hash code value for this object.
- hashCode() - Method in class com.reallifedeveloper.common.domain.AbstractValueObject
- hashCode() - Method in class com.reallifedeveloper.common.domain.event.AbstractDomainEvent
- hasSameValueAs(T) - Method in interface com.reallifedeveloper.common.domain.ValueObject
-
Checks if this value object has the same value as another.
- high() - Method in class com.reallifedeveloper.common.application.notification.NotificationLogId
-
Gives the high property of this
NotificationLogId, i.e., the stored event ID of the last notification that may be stored in aNotificationLog. - HtmlProducer - Interface in com.reallifedeveloper.common.resource.documentation
-
A producer of HTML.
I
- id() - Method in class com.reallifedeveloper.common.application.eventstore.StoredEvent
-
Gives the ID of this
StoredEvent. - id() - Method in interface com.reallifedeveloper.common.domain.DomainEntity
-
Gives the identity of this entity.
- id() - Method in class com.reallifedeveloper.common.infrastructure.persistence.BaseJpaEntity
-
Gives the ID of this
AbstractJpaEntity. - instance(EventStore) - Static method in class com.reallifedeveloper.common.application.notification.NotificationFactory
-
Gives an instance of the factory that uses the given
EventStoreto createNotifications. - isArchived() - Method in record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Returns the value of the
isArchivedrecord component. - isArchived() - Method in class com.reallifedeveloper.common.resource.notification.NotificationLogRepresentation
-
Shows if this represents an archived notification log or not.
J
- JpaPublishedMessageTrackerRepository - Interface in com.reallifedeveloper.common.infrastructure.persistence
-
A Spring Data JPA "implementation" of the
PublishedMessageTrackerRepositoryinterface. - JpaStoredEventRepository - Interface in com.reallifedeveloper.common.infrastructure.persistence
-
A Spring Data JPA "implementation" of the
StoredEventRepositoryinterface.
K
- KafkaNotificationPublisher - Class in com.reallifedeveloper.common.infrastructure.messaging
-
An implementation of the
NotificationPublisherinterface which uses Apache Kafka. - KafkaNotificationPublisher(KafkaTemplate<String, String>, ObjectSerializer<String>) - Constructor for class com.reallifedeveloper.common.infrastructure.messaging.KafkaNotificationPublisher
-
Creates a new
KafkaNotificationPublisherwhich uses the givenObjectSerializerto serialize notifications, and the givenKafkaTemplateto send them to Kafka. - KafkaSecurityConfiguration - Class in com.reallifedeveloper.common.infrastructure.messaging
-
Utility class used to set the security-related Kafka configuration properties when creating consumers and producers.
- KafkaSecurityConfiguration() - Constructor for class com.reallifedeveloper.common.infrastructure.messaging.KafkaSecurityConfiguration
L
- lastPublishedMessageId() - Method in class com.reallifedeveloper.common.application.notification.PublishedMessageTracker
-
Gives the id of the most recently published message on the publication channel associated with this
PublishedMessageTracker. - lastStoredEventId() - Method in class com.reallifedeveloper.common.application.eventstore.EventStore
-
Gives the ID of the most recently added
StoredEvents. - lastStoredEventId() - Method in interface com.reallifedeveloper.common.application.eventstore.StoredEventRepository
-
Gives the ID of the most recently saved
StoredEventin the repository. - lastStoredEventId() - Method in interface com.reallifedeveloper.common.infrastructure.persistence.JpaStoredEventRepository
- LOCAL_DATE_TIME_FORMAT - Static variable in class com.reallifedeveloper.common.infrastructure.GsonObjectSerializer
-
The format used to parse and format
java.time.LocalDateTimeobjects. - Log4jConfigurator - Class in com.reallifedeveloper.common.infrastructure.jmx
-
An implementation of the JMX
LogConfiguratorMXBeaninterface using Log4j. - Log4jConfigurator() - Constructor for class com.reallifedeveloper.common.infrastructure.jmx.Log4jConfigurator
- LogConfiguratorMXBean - Interface in com.reallifedeveloper.common.infrastructure.jmx
-
A JMX MBean interface for monitoring and controlling logging.
- logger() - Method in class com.reallifedeveloper.common.resource.BaseResource
-
Gives the
org.slf4j.Loggerto use for logging. - LoggingDomainEventSubscriber - Class in com.reallifedeveloper.common.domain.event
-
A
DomainEventSubscriberthat logs all events using Slf4j. - LoggingDomainEventSubscriber() - Constructor for class com.reallifedeveloper.common.domain.event.LoggingDomainEventSubscriber
- LogUtil - Class in com.reallifedeveloper.common.domain
-
A utility class to simplify working with logs.
- LogUtil() - Constructor for class com.reallifedeveloper.common.domain.LogUtil
- low() - Method in class com.reallifedeveloper.common.application.notification.NotificationLogId
-
Gives the low property of this
NotificationLogId, i.e., the stored event ID of the first notification that may be stored in aNotificationLog.
M
- Markdown4jHtmlProducer - Class in com.reallifedeveloper.common.infrastructure
- Markdown4jHtmlProducer() - Constructor for class com.reallifedeveloper.common.infrastructure.Markdown4jHtmlProducer
N
- next() - Method in record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Gives the ID of the next notification log as a
java.util.Optional. - next() - Method in class com.reallifedeveloper.common.application.notification.NotificationLogId
-
Gives a
NotificationLogIdrepresenting the next batch of notifications, after the ones in the currentNotificationLog. - noCache() - Static method in class com.reallifedeveloper.common.resource.ResourceUtil
-
Gives a
CacheControlobject with directives set to prevent caching. - notFound(String) - Static method in class com.reallifedeveloper.common.resource.ResourceUtil
-
Gives a
WebApplicationExceptionwith HTTP status 404 and the given message as plain text in the body. - Notification - Record Class in com.reallifedeveloper.common.application.notification
-
A notification is information about a domain event that has occurred, and that has been stored in an
EventStore. - Notification(String, Long, ZonedDateTime, DomainEvent) - Constructor for record class com.reallifedeveloper.common.application.notification.Notification
-
Creates a new
Notification. - NotificationFactory - Class in com.reallifedeveloper.common.application.notification
-
A factory for
Notifications. - notificationLog(NotificationLogId) - Method in class com.reallifedeveloper.common.application.notification.NotificationService
-
Gives an archived
NotificationLog. - NotificationLog - Record Class in com.reallifedeveloper.common.application.notification
-
A notification log holds a list of
Notifications, i.e., information about domain events that have occurred and have been stored in anEventStore. - NotificationLog(NotificationLogId, NotificationLogId, NotificationLogId, List<Notification>, boolean) - Constructor for record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Creates a new
NotificationLog. - NotificationLogId - Class in com.reallifedeveloper.common.application.notification
-
The ID of a
NotificationLog, representing an interval ofNotificationsthat can be held in the log. - NotificationLogId(long, long) - Constructor for class com.reallifedeveloper.common.application.notification.NotificationLogId
-
Creates a new
NotificationLogIdwith the given low and high properties. - NotificationLogId(String) - Constructor for class com.reallifedeveloper.common.application.notification.NotificationLogId
-
Creates a new
NotificationLogIdwith the low and high properties parsed from a comma-separated string. - NotificationLogRepresentation - Class in com.reallifedeveloper.common.resource.notification
-
A REST-ful representation of a
NotificationLog, containing links to resources to get related representations. - NotificationLogRepresentation(NotificationLog, ObjectSerializer<String>) - Constructor for class com.reallifedeveloper.common.resource.notification.NotificationLogRepresentation
-
Creates a new
NotificationLogRepresentationrepresenting the givenNotificationLog, and using the givenObjectSerializerto serialize the domain events. - NotificationPublisher - Interface in com.reallifedeveloper.common.application.notification
-
A publisher of notifications.
- NotificationPublisherTask - Class in com.reallifedeveloper.common.application.notification
-
A
java.lang.Runnablethat callsNotificationService.publishNotifications(String). - NotificationPublisherTask(String, NotificationService) - Constructor for class com.reallifedeveloper.common.application.notification.NotificationPublisherTask
-
Creates a new
NotificationPublishingTimerTaskthat publishes to the given publication channel using the givenNotificationService. - NotificationReader - Interface in com.reallifedeveloper.common.application.notification
-
A reader of serialized
Notifications, that lets the user read information from the notification without having to deserialize it to a Java object. - NotificationRepresentation - Class in com.reallifedeveloper.common.resource.notification
-
A REST-ful representation of a
Notification. - NotificationRepresentation(Notification, ObjectSerializer<String>) - Constructor for class com.reallifedeveloper.common.resource.notification.NotificationRepresentation
-
Creates a new
NotificationRepresentationrepresenting the givenNotification, and using the givenObjectSerializerto serialize the domain event. - NotificationResource - Class in com.reallifedeveloper.common.resource.notification
-
A JAX-RS resource to give access to
Notificationsin the form of aNotificationLog. - NotificationResource(NotificationService, ObjectSerializer<String>) - Constructor for class com.reallifedeveloper.common.resource.notification.NotificationResource
- notifications() - Method in record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Returns the value of the
notificationsrecord component. - notifications() - Method in class com.reallifedeveloper.common.resource.notification.NotificationLogRepresentation
-
Gives the notifications represented.
- NotificationService - Class in com.reallifedeveloper.common.application.notification
-
An application service to work with
NotificationLogs. - NotificationService(EventStore, PublishedMessageTrackerRepository, NotificationPublisher) - Constructor for class com.reallifedeveloper.common.application.notification.NotificationService
-
Creates a new
NotificationServicethat uses the given components. - now() - Method in class com.reallifedeveloper.common.domain.ClockTimeService
- now() - Method in interface com.reallifedeveloper.common.domain.TimeService
-
Gives the current time as a
java.time.ZonedDateTimeobject. - nullableNext() - Method in record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Returns the value of the
nullableNextrecord component. - nullablePrevious() - Method in record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Returns the value of the
nullablePreviousrecord component.
O
- ObjectSerializer<T extends Serializable> - Interface in com.reallifedeveloper.common.domain
-
A serializer of objects, i.e., a class that can convert an arbitrary object to a serialized form and back.
- occurredOn() - Method in class com.reallifedeveloper.common.application.eventstore.StoredEvent
-
Gives the date and time the domain event represented by this
StoredEventoccurred. - occurredOn() - Method in record class com.reallifedeveloper.common.application.notification.Notification
-
Returns the value of the
occurredOnrecord component. - occurredOn() - Method in interface com.reallifedeveloper.common.application.notification.NotificationReader
-
Gives the date and time when the domain event occurred.
- occurredOn() - Method in class com.reallifedeveloper.common.infrastructure.GsonNotificationReader
P
- parseDate(String) - Method in class com.reallifedeveloper.common.resource.BaseResource
-
Parses a string as a
java.time.LocalDate, using the date format "yyyy-MM-dd". - parseUrl(String) - Method in class com.reallifedeveloper.common.resource.BaseResource
-
Parses a string as a
java.net.URL. - previous() - Method in record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Gives the ID of the previous notification log as a
java.util.Optional. - previous() - Method in class com.reallifedeveloper.common.application.notification.NotificationLogId
-
Gives a
NotificationLogIdrepresenting the previous batch of notifications, before the ones in the currentNotificationLog. - produce(String) - Method in class com.reallifedeveloper.common.infrastructure.Markdown4jHtmlProducer
- produce(String) - Method in interface com.reallifedeveloper.common.resource.documentation.HtmlProducer
-
Produces HTML from the named resource on classpath.
- publicationChannel() - Method in class com.reallifedeveloper.common.application.notification.PublishedMessageTracker
-
Gives the name of the publication channel for this
PublishedMessageTracker. - publish(DomainEvent) - Method in interface com.reallifedeveloper.common.domain.event.DomainEventPublisher
-
Publishes a domain event, i.e., notifies each registered subscriber about the event.
- publish(DomainEvent) - Method in class com.reallifedeveloper.common.domain.event.SimpleDomainEventPublisher
-
Publishes a domain event, i.e., calls the
DomainEventSubscriber.handleEvent(DomainEvent)method for each registered subscriber. - publish(DomainEvent) - Method in class com.reallifedeveloper.common.domain.event.ThreadLocalDomainEventPublisher
-
Publishes a domain event, i.e., calls the
DomainEventSubscriber.handleEvent(DomainEvent)method for each registered subscriber. - publish(List<Notification>, String) - Method in interface com.reallifedeveloper.common.application.notification.NotificationPublisher
-
Publishes a number of notifications to the given publication channel.
- publish(List<Notification>, String) - Method in class com.reallifedeveloper.common.infrastructure.messaging.KafkaNotificationPublisher
- publish(List<Notification>, String) - Method in class com.reallifedeveloper.common.infrastructure.messaging.RabbitMQNotificationPublisher
- PublishedMessageTracker - Class in com.reallifedeveloper.common.application.notification
-
Keeps track of the most recently published message on a certain publication channel.
- PublishedMessageTracker(long, String) - Constructor for class com.reallifedeveloper.common.application.notification.PublishedMessageTracker
-
Creates a new
PublishedMessageTrackerwith the id of the most recently published message on the given publication channel. - PublishedMessageTrackerRepository - Interface in com.reallifedeveloper.common.application.notification
-
Repository to work with
PublishedMessageTrackerobjects. - publishNotifications(String) - Method in class com.reallifedeveloper.common.application.notification.NotificationService
-
Publishes notifications about all events that have occurred since the last publication to the given publication channel.
- purge() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Purges all connections in the pool.
- purge() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
- purgeOnReturn() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Purges connections when they are returned from the pool.
- purgeOnReturn() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
R
- RabbitMQNotificationPublisher - Class in com.reallifedeveloper.common.infrastructure.messaging
-
An implementation of the
NotificationPublisherinterface that uses RabbiMQ. - RabbitMQNotificationPublisher(ConnectionFactory, ObjectSerializer<String>) - Constructor for class com.reallifedeveloper.common.infrastructure.messaging.RabbitMQNotificationPublisher
-
Creates a new
RabbitMQNotificationPublisherthat connects to RabbitMQ using the givenConnectionFactory. - redirect() - Method in class com.reallifedeveloper.common.resource.documentation.DocumentationResource
-
Redirects the client to the proper documentation URL.
- removeCRLF(Object) - Static method in class com.reallifedeveloper.common.domain.LogUtil
-
Given a non-null object, calls the
toStringmethod on the object and returns the result of callingLogUtil.removeCRLF(String)on the string representation of the object. - removeCRLF(String) - Static method in class com.reallifedeveloper.common.domain.LogUtil
-
Removes all occurrences of carriage return (
\r) and linefeed (\n) from a string. - Repository<T,
ID extends Serializable> - Interface in com.reallifedeveloper.common.domain -
A mechanism for encapsulating storage, retrieval, and search behavior which emulates a collection of objects.
- reset() - Method in class com.reallifedeveloper.common.domain.event.ThreadLocalDomainEventPublisher
-
Removes all subscribers.
- ResourceUtil - Class in com.reallifedeveloper.common.resource
-
Utility class with helper methods for JAX-RS resources.
- run() - Method in class com.reallifedeveloper.common.application.notification.NotificationPublisherTask
S
- SASL_JAAS_CONFIG_CONFIGURATION_KEY - Static variable in class com.reallifedeveloper.common.infrastructure.messaging.KafkaSecurityConfiguration
-
The configuration property to use to set the JAAS config.
- SASL_MECHNISM_CONFIGURATION_KEY - Static variable in class com.reallifedeveloper.common.infrastructure.messaging.KafkaSecurityConfiguration
-
The configuration property to use to set the SASL mechanism, e.g.,
PLAIN. - save(P) - Method in interface com.reallifedeveloper.common.application.notification.PublishedMessageTrackerRepository
-
Saves or updates the given
PublishedMessageTracker. - save(S) - Method in interface com.reallifedeveloper.common.application.eventstore.StoredEventRepository
-
Saves a
StoredEvent. - SECURITY_PROTOCOL_CONFIGURATION_KEY - Static variable in class com.reallifedeveloper.common.infrastructure.messaging.KafkaSecurityConfiguration
-
The configuration property to use to set security protocol, e.g.,
SASL_SSL. - serialize(Object) - Method in interface com.reallifedeveloper.common.domain.ObjectSerializer
-
Converts an object to its serialized form.
- serialize(Object) - Method in class com.reallifedeveloper.common.infrastructure.GsonObjectSerializer
- serverError(String) - Static method in class com.reallifedeveloper.common.resource.ResourceUtil
-
Gives a
WebApplicationExceptionwith HTTP status 500 and the given message as plain text in the body. - ServletContextSystemInfo - Class in com.reallifedeveloper.common.infrastructure.jmx
-
An implementation of the JMX
SystemInfoMXBeaninterface that reads the system information from a manifest file in a WAR file. - ServletContextSystemInfo() - Constructor for class com.reallifedeveloper.common.infrastructure.jmx.ServletContextSystemInfo
- setApplicationContext(ApplicationContext) - Method in class com.reallifedeveloper.common.domain.registry.AbstractDomainRegistry
- setClock(Clock) - Method in class com.reallifedeveloper.common.domain.ClockTimeService
-
Sets the
java.time.Clockused by thisClockTimeService. - setLastPublishedMessageid(long) - Method in class com.reallifedeveloper.common.application.notification.PublishedMessageTracker
-
Sets the id of the most recently published message on the publication channel associated with this
PublishedMessageTracker. - setLogLevel(String, String) - Method in class com.reallifedeveloper.common.infrastructure.jmx.Log4jConfigurator
- setLogLevel(String, String) - Method in interface com.reallifedeveloper.common.infrastructure.jmx.LogConfiguratorMXBean
-
Sets the log level of the named logger.
- setNext(String) - Method in class com.reallifedeveloper.common.resource.notification.NotificationLogRepresentation
-
Sets the canonical link to the next set of notifications.
- setPrevious(String) - Method in class com.reallifedeveloper.common.resource.notification.NotificationLogRepresentation
-
Sets the canonical link to the previous set of notifications.
- setSelf(String) - Method in class com.reallifedeveloper.common.resource.notification.NotificationLogRepresentation
-
Sets the canonical link to the current set of notifications.
- setServletContext(ServletContext) - Method in class com.reallifedeveloper.common.infrastructure.jmx.ServletContextSystemInfo
- setUpdated(ZonedDateTime) - Method in class com.reallifedeveloper.common.infrastructure.persistence.TimestampedJpaEntity
-
Sets the time and date that the entity was last updated.
- SimpleDomainEventPublisher - Class in com.reallifedeveloper.common.domain.event
-
A publisher of domain events that holds subscribers in a list.
- SimpleDomainEventPublisher() - Constructor for class com.reallifedeveloper.common.domain.event.SimpleDomainEventPublisher
-
Creates a new
SimpleDomainEventPublisherwith no subscribers registered. - SimpleDomainEventPublisher(List<DomainEventSubscriber<? extends DomainEvent>>) - Constructor for class com.reallifedeveloper.common.domain.event.SimpleDomainEventPublisher
-
Creates a new
SimpleDomainEventPublisherwith a number of subscribers registered to be notified when events are published. - SSL_TRUSTSTORE_LOCATION_CONFIGURATION_KEY - Static variable in class com.reallifedeveloper.common.infrastructure.messaging.KafkaSecurityConfiguration
-
The configuration property to use to set the location of the truststore, supports
classpathprefixes. - SSL_TRUSTSTORE_PASSWORD_CONFIGURATION_KEY - Static variable in class com.reallifedeveloper.common.infrastructure.messaging.KafkaSecurityConfiguration
-
The configuration property to use to set the password of the truststore.
- StoredEvent - Class in com.reallifedeveloper.common.application.eventstore
-
A representation of a
DomainEventthat can be stored in a database. - StoredEvent(String, String, ZonedDateTime, int) - Constructor for class com.reallifedeveloper.common.application.eventstore.StoredEvent
-
Creates a new
StoredEventwith the given attributes. - storedEventId() - Method in record class com.reallifedeveloper.common.application.notification.Notification
-
Returns the value of the
storedEventIdrecord component. - storedEventId() - Method in interface com.reallifedeveloper.common.application.notification.NotificationReader
-
Gives the ID of the
StoredEventthat theNotificationis based on. - storedEventId() - Method in class com.reallifedeveloper.common.infrastructure.GsonNotificationReader
- StoredEventRepository - Interface in com.reallifedeveloper.common.application.eventstore
-
A repository for working with
StoredEventobjects. - subscribe(DomainEventSubscriber<? extends DomainEvent>) - Method in interface com.reallifedeveloper.common.domain.event.DomainEventPublisher
-
Registers an event handler with this publisher.
- subscribe(DomainEventSubscriber<? extends DomainEvent>) - Method in class com.reallifedeveloper.common.domain.event.SimpleDomainEventPublisher
-
Registers an event handler with this publisher.
- subscribe(DomainEventSubscriber<? extends DomainEvent>) - Method in class com.reallifedeveloper.common.domain.event.ThreadLocalDomainEventPublisher
-
Registers an event handler with this publisher.
- SystemInfoMXBean - Interface in com.reallifedeveloper.common.infrastructure.jmx
-
A JMX MBean interface for getting basic system information, such as version number.
T
- testIdle() - Method in interface com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
-
Performs a validation on idle connections.
- testIdle() - Method in class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
- ThreadLocalDomainEventPublisher - Class in com.reallifedeveloper.common.domain.event
-
A publisher of domain events that keeps track of subscribers on a per-thread basis.
- ThreadLocalDomainEventPublisher() - Constructor for class com.reallifedeveloper.common.domain.event.ThreadLocalDomainEventPublisher
- timeService() - Static method in class com.reallifedeveloper.common.domain.registry.CommonDomainRegistry
-
Gives the
TimeServiceto use to work with "current" time. - TimeService - Interface in com.reallifedeveloper.common.domain
-
A service for working with "current" time.
- TimestampedJpaEntity<ID> - Class in com.reallifedeveloper.common.infrastructure.persistence
-
A base class for JPA entities that need to keep track of when they where created and when they were last updated.
- TimestampedJpaEntity() - Constructor for class com.reallifedeveloper.common.infrastructure.persistence.TimestampedJpaEntity
-
Creates a new
AbstractTimestampedJpaEntitywith null ID and with the created and updated timestamps also set to null. - TimestampedJpaEntity(ID) - Constructor for class com.reallifedeveloper.common.infrastructure.persistence.TimestampedJpaEntity
-
Creates a new
AbstractTimestampedJpaEntitywith the given ID and with the created and updated timestamps set to the current time. - TimestampedJpaEntity(ID, ZonedDateTime, ZonedDateTime) - Constructor for class com.reallifedeveloper.common.infrastructure.persistence.TimestampedJpaEntity
-
Creates a new
AbstractTimestampedJpaEntitywith the given ID and timestamps. - toDomainEvent(StoredEvent) - Method in class com.reallifedeveloper.common.application.eventstore.EventStore
-
Converts a
StoredEventback to its originalDomainEvent. - TomcatConnectionPoolConfigurator - Class in com.reallifedeveloper.common.infrastructure.jmx
-
An implementation of the JMX
ConnectionPoolConfiguratorMXBeaninterface that delegates to anorg.apache.tomcat.jdbc.pool.DataSourceobject. - TomcatConnectionPoolConfigurator(DataSource) - Constructor for class com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
-
Creates a new
TomcatConnectionPoolConfiguratorthat delegates to the given data source. - toString() - Method in class com.reallifedeveloper.common.application.eventstore.StoredEvent
- toString() - Method in record class com.reallifedeveloper.common.application.notification.Notification
-
Returns a string representation of this record class.
- toString() - Method in record class com.reallifedeveloper.common.application.notification.NotificationLog
-
Returns a string representation of this record class.
- toString() - Method in class com.reallifedeveloper.common.application.notification.NotificationLogId
- toString() - Method in class com.reallifedeveloper.common.domain.AbstractValueObject
- toString() - Method in class com.reallifedeveloper.common.domain.event.AbstractDomainEvent
U
- updated() - Method in class com.reallifedeveloper.common.infrastructure.persistence.TimestampedJpaEntity
-
Gives the time and date that the entity was last updated.
V
- ValueObject<T> - Interface in com.reallifedeveloper.common.domain
-
A domain-driven design value object, i.e., an immutable object that contains attributes but has no conceptual identity.
- version() - Method in class com.reallifedeveloper.common.application.eventstore.StoredEvent
-
Gives the version of the domain event represented by this
StoredEvent.
W
- webApplicationException(String, Response.Status) - Static method in class com.reallifedeveloper.common.resource.ResourceUtil
-
Gives a
WebApplicationExceptionwith the given HTTP status and the given message as plain text in the response body. - webApplicationException(Throwable, Response.Status) - Static method in class com.reallifedeveloper.common.resource.ResourceUtil
-
Gives a
WebApplicationExceptionwith the given HTTP status and the givenThrowableas plain text in the response body.
Z
- zonedDateTimeValue(String) - Method in interface com.reallifedeveloper.common.application.notification.NotificationReader
-
Gives the value of a field in the domain event as a
java.time.ZonedDateTimeobject. - zonedDateTimeValue(String) - Method in class com.reallifedeveloper.common.infrastructure.GsonNotificationReader
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form