| Package | Description |
|---|---|
| org.axonframework.common.jpa | |
| org.axonframework.eventsourcing |
Classes related to event sourcing.
|
| org.axonframework.eventstore.jpa |
JPA Implementation of the EventStore.
|
| org.axonframework.repository |
Classes related to the repository interface and implementations.
|
| org.axonframework.saga.repository.jpa |
| Modifier and Type | Class and Description |
|---|---|
class |
ContainerManagedEntityManagerProvider
EntityManagerProvider implementation that expects the container to inject the default container managed
EntityManager
instance.
|
class |
SimpleEntityManagerProvider
Simple implementation of the EntityManagerProvider that returns the EntityManager instance provided at construction
time.
|
| Constructor and Description |
|---|
HybridJpaRepository(EntityManagerProvider entityManagerProvider,
Class<T> aggregateType)
Initializes a Hybrid Repository that stored entities of the given
aggregateType and the locking
mechanism provided by the backend storage. |
HybridJpaRepository(EntityManagerProvider entityManagerProvider,
Class<T> aggregateType,
LockManager lockManager)
Initializes a Hybrid Repository that stored entities of the given
aggregateType and a locking
mechanism based on the given lockManager. |
HybridJpaRepository(EntityManagerProvider entityManagerProvider,
Class<T> aggregateType,
String aggregateTypeIdentifier)
Initializes a Hybrid Repository that stored entities of the given
aggregateType without locking. |
HybridJpaRepository(EntityManagerProvider entityManagerProvider,
Class<T> aggregateType,
String aggregateTypeIdentifier,
LockManager lockManager)
Initializes a Hybrid Repository that stored entities of the given
aggregateType and a locking
mechanism based on the given lockManager. |
| Constructor and Description |
|---|
JpaEventStore(EntityManagerProvider entityManagerProvider)
Initialize a JpaEventStore using an
XStreamSerializer, which
serializes events as XML and the default Event Entry store. |
JpaEventStore(EntityManagerProvider entityManagerProvider,
EventEntryStore eventEntryStore)
Initialize a JpaEventStore using the given
eventEntryStore and an XStreamSerializer, which serializes events as XML. |
JpaEventStore(EntityManagerProvider entityManagerProvider,
Serializer serializer)
Initialize a JpaEventStore which serializes events using the given
eventSerializer and stores the
events in the database using the default EventEntryStore. |
JpaEventStore(EntityManagerProvider entityManagerProvider,
Serializer serializer,
EventEntryStore eventEntryStore)
Initialize a JpaEventStore which serializes events using the given
eventSerializer and stores the
events in the database using the given eventEntryStore. |
| Constructor and Description |
|---|
GenericJpaRepository(EntityManagerProvider entityManagerProvider,
Class<T> aggregateType)
Initialize a repository for storing aggregates of the given
aggregateType. |
GenericJpaRepository(EntityManagerProvider entityManagerProvider,
Class<T> aggregateType,
LockManager lockManager)
Initialize a repository for storing aggregates of the given
aggregateType with an additional
lockManager. |
| Constructor and Description |
|---|
JpaSagaRepository(EntityManagerProvider entityManagerProvider)
Initializes a Saga Repository with a
JavaSerializer. |
Copyright © 2010-2014. All Rights Reserved.