public abstract class AbstractEventStoreMixin extends Object implements EventStore, EventStream, EventStoreActivation
EventStoreActivation.Activator| Modifier and Type | Field and Description |
|---|---|
protected ValueType |
domainEventType |
protected ValueType |
eventsType |
protected Identity |
identity |
protected Lock |
lock |
protected org.slf4j.Logger |
logger |
protected Module |
module |
| Constructor and Description |
|---|
AbstractEventStoreMixin() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateEventStore() |
protected void |
lock()
Fix for this bug:
http://bugs.sun.com/bugdatabase/view_bug.do?
|
void |
passivateEventStore() |
void |
registerListener(UnitOfWorkEventsListener subscriber) |
Output<UnitOfWorkDomainEventsValue,IOException> |
storeEvents() |
protected abstract Output<UnitOfWorkDomainEventsValue,IOException> |
storeEvents0() |
void |
unregisterListener(UnitOfWorkEventsListener subscriber) |
protected org.slf4j.Logger logger
protected ValueType domainEventType
protected ValueType eventsType
protected Lock lock
@Structure protected Module module
public void activateEventStore()
throws Exception
activateEventStore in interface EventStoreActivationExceptionpublic void passivateEventStore()
throws Exception
passivateEventStore in interface EventStoreActivationExceptionpublic Output<UnitOfWorkDomainEventsValue,IOException> storeEvents()
storeEvents in interface EventStorepublic void registerListener(UnitOfWorkEventsListener subscriber)
registerListener in interface EventStreampublic void unregisterListener(UnitOfWorkEventsListener subscriber)
unregisterListener in interface EventStreamprotected abstract Output<UnitOfWorkDomainEventsValue,IOException> storeEvents0()
protected void lock()