Uses of Class
org.axonframework.domain.DomainEvent

Packages that use DomainEvent
org.axonframework.domain The domain components of the Axon Framework, mainly the Aggregates and Events. 
org.axonframework.eventsourcing Classes related to event sourcing. 
org.axonframework.eventsourcing.annotation   
org.axonframework.eventsourcing.conflictresolvers   
org.axonframework.eventstore Definitions and implementations of the Event store, the mechanism that can load event streams and append events to them. 
org.axonframework.eventstore.fs Package containing classes necessary to implement a FileSystem based implementation of the EventStore 
org.axonframework.eventstore.jpa JPA Implementation of the EventStore. 
org.axonframework.test Classes in support of testing Axon based applications. 
org.axonframework.test.saga   
org.axonframework.test.utils A collection of classes which may prove useful when testing Axon-based classes. 
 

Uses of DomainEvent in org.axonframework.domain
 

Methods in org.axonframework.domain that return DomainEvent
 DomainEvent SimpleDomainEventStream.next()
          Returns the next events in the stream, if available.
 DomainEvent DomainEventStream.next()
          Returns the next events in the stream, if available.
 DomainEvent SimpleDomainEventStream.peek()
          Returns the next events in the stream, if available, without moving the pointer forward.
 DomainEvent DomainEventStream.peek()
          Returns the next events in the stream, if available, without moving the pointer forward.
 

Methods in org.axonframework.domain with parameters of type DomainEvent
protected  void AbstractAggregateRoot.registerEvent(DomainEvent event)
          Registers an event to be published when the aggregate is saved.
 

Constructors in org.axonframework.domain with parameters of type DomainEvent
SimpleDomainEventStream(DomainEvent... events)
          Initialize the event stream using the given DomainEvents and aggregate identifier.
 

Constructor parameters in org.axonframework.domain with type arguments of type DomainEvent
SimpleDomainEventStream(Iterable<? extends DomainEvent> events)
          Initialize the event stream using the given List of DomainEvent and aggregate identifier.
 

Uses of DomainEvent in org.axonframework.eventsourcing
 

Subclasses of DomainEvent in org.axonframework.eventsourcing
 class AggregateSnapshot<T extends EventSourcedAggregateRoot>
          Snapshot event that captures the entire aggregate.
 

Methods in org.axonframework.eventsourcing that return DomainEvent
protected  DomainEvent AggregateSnapshotter.createSnapshot(String typeIdentifier, DomainEventStream eventStream)
           
protected abstract  DomainEvent AbstractSnapshotter.createSnapshot(String typeIdentifier, DomainEventStream eventStream)
          Creates a snapshot event for an aggregate of the given typeIdentifier of which passed events are available in the given eventStream.
 

Methods in org.axonframework.eventsourcing with parameters of type DomainEvent
protected  void AbstractEventSourcedEntity.apply(DomainEvent event)
          Apply the provided event.
protected  void AbstractEventSourcedAggregateRoot.apply(DomainEvent event)
          Apply the provided event.
 T GenericAggregateFactory.createAggregate(AggregateIdentifier aggregateIdentifier, DomainEvent firstEvent)
          Instantiate the aggregate using the given aggregate identifier and first event.
 T EventSourcingRepository.createAggregate(AggregateIdentifier aggregateIdentifier, DomainEvent firstEvent)
          Instantiate the aggregate using the given aggregate identifier and first event.
 T AggregateFactory.createAggregate(AggregateIdentifier aggregateIdentifier, DomainEvent firstEvent)
          Instantiate the aggregate using the given aggregate identifier and first event.
protected abstract  void AbstractEventSourcedEntity.handle(DomainEvent event)
          Apply state changes based on the given event.
protected abstract  void AbstractEventSourcedAggregateRoot.handle(DomainEvent event)
          Apply state changes based on the given event.
protected  T SpringPrototypeEventSourcingRepository.instantiateAggregate(AggregateIdentifier aggregateIdentifier, DomainEvent firstEvent)
           
 T GenericEventSourcingRepository.instantiateAggregate(AggregateIdentifier aggregateIdentifier, DomainEvent firstEvent)
          Instantiate the aggregate using the given aggregate identifier and first event.
protected abstract  T EventSourcingRepository.instantiateAggregate(AggregateIdentifier aggregateIdentifier, DomainEvent firstEvent)
          Instantiate the aggregate using the given aggregate identifier and first event.
 T CachingGenericEventSourcingRepository.instantiateAggregate(AggregateIdentifier aggregateIdentifier, DomainEvent firstEvent)
          Instantiate the aggregate using the given aggregate identifier and first event.
 

Method parameters in org.axonframework.eventsourcing with type arguments of type DomainEvent
 void ConflictResolver.resolveConflicts(List<DomainEvent> appliedChanges, List<DomainEvent> committedChanges)
          Checks the given list of appliedChanges and committedChanges for any conflicting changes.
 void ConflictResolver.resolveConflicts(List<DomainEvent> appliedChanges, List<DomainEvent> committedChanges)
          Checks the given list of appliedChanges and committedChanges for any conflicting changes.
 

Uses of DomainEvent in org.axonframework.eventsourcing.annotation
 

Methods in org.axonframework.eventsourcing.annotation with parameters of type DomainEvent
protected  void AbstractAnnotatedEntity.handle(DomainEvent event)
          Calls the appropriate EventHandler annotated handler with the provided event.
protected  void AbstractAnnotatedAggregateRoot.handle(DomainEvent event)
          Calls the appropriate EventHandler annotated handler with the provided event.
 

Uses of DomainEvent in org.axonframework.eventsourcing.conflictresolvers
 

Method parameters in org.axonframework.eventsourcing.conflictresolvers with type arguments of type DomainEvent
 void AcceptAllConflictResolver.resolveConflicts(List<DomainEvent> appliedChanges, List<DomainEvent> committedChanges)
          Checks the given list of appliedChanges and committedChanges for any conflicting changes.
 void AcceptAllConflictResolver.resolveConflicts(List<DomainEvent> appliedChanges, List<DomainEvent> committedChanges)
          Checks the given list of appliedChanges and committedChanges for any conflicting changes.
 

Uses of DomainEvent in org.axonframework.eventstore
 

Methods in org.axonframework.eventstore that return DomainEvent
 DomainEvent XStreamEventSerializer.deserialize(byte[] serializedEvent)
          Deserialize a DomainEvent using the given serializedEvents.
 DomainEvent EventSerializer.deserialize(byte[] serializedEvent)
          Deserialize a DomainEvent using the given serializedEvents.
 

Methods in org.axonframework.eventstore with parameters of type DomainEvent
 void SnapshotEventStore.appendSnapshotEvent(String type, DomainEvent snapshotEvent)
          Append the given snapshotEvent to the snapshot event log for the given type type.
 void EventVisitor.doWithEvent(DomainEvent domainEvent)
          Called for each event loaded by the event store.
 byte[] XStreamEventSerializer.serialize(DomainEvent event)
          Serialize the given events into a byte[].
 byte[] EventSerializer.serialize(DomainEvent event)
          Serialize the given events into a byte[].
 

Uses of DomainEvent in org.axonframework.eventstore.fs
 

Methods in org.axonframework.eventstore.fs with parameters of type DomainEvent
 void FileSystemEventStore.appendSnapshotEvent(String type, DomainEvent snapshotEvent)
          Append the given snapshotEvent to the snapshot event log for the given type type.
 

Uses of DomainEvent in org.axonframework.eventstore.jpa
 

Methods in org.axonframework.eventstore.jpa with parameters of type DomainEvent
 void JpaEventStore.appendSnapshotEvent(String type, DomainEvent snapshotEvent)
          Append the given snapshotEvent to the snapshot event log for the given type type.
 

Constructors in org.axonframework.eventstore.jpa with parameters of type DomainEvent
DomainEventEntry(String type, DomainEvent event, EventSerializer eventSerializer)
          Initialize a DomainEventEntry for the given event, to be serialized using the given serializer.
 

Uses of DomainEvent in org.axonframework.test
 

Methods in org.axonframework.test with parameters of type DomainEvent
 ResultValidator ResultValidator.expectEvents(DomainEvent... expectedEvents)
          Expect the given set of events to have been stored and published.
 ResultValidator ResultValidator.expectStoredEvents(DomainEvent... expectedEvents)
          Expect the given set of events to have been stored in the event store.
 TestExecutor FixtureConfiguration.given(DomainEvent... domainEvents)
          Configures the given domainEvents as the "given" events.
 

Method parameters in org.axonframework.test with type arguments of type DomainEvent
 ResultValidator ResultValidator.expectStoredEvents(org.hamcrest.Matcher<List<? extends DomainEvent>> matcher)
          Expect the list of stored event to match the given matcher.
 TestExecutor FixtureConfiguration.given(List<DomainEvent> domainEvents)
          Configures the given domainEvents as the "given" events.
 

Uses of DomainEvent in org.axonframework.test.saga
 

Methods in org.axonframework.test.saga with parameters of type DomainEvent
 ContinuedGivenState GivenAggregateEventPublisher.published(DomainEvent... events)
          Register the given events as being published somewhere in the past.
 FixtureExecutionResult WhenAggregateEventPublisher.publishes(DomainEvent event)
          Register the given event to be published on behalf of an aggregate.
 

Uses of DomainEvent in org.axonframework.test.utils
 

Methods in org.axonframework.test.utils with parameters of type DomainEvent
static void DomainEventUtils.setAggregateIdentifier(DomainEvent event, AggregateIdentifier identifier)
          Sets the given identifier on the given event.
static void DomainEventUtils.setSequenceNumber(DomainEvent event, long sequenceNumber)
          Sets the given sequenceNumber on the given event.
 



Copyright © 2011. All Rights Reserved.