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 EventStoreActivation
Exception
public void passivateEventStore() throws Exception
passivateEventStore
in interface EventStoreActivation
Exception
public Output<UnitOfWorkDomainEventsValue,IOException> storeEvents()
storeEvents
in interface EventStore
public void registerListener(UnitOfWorkEventsListener subscriber)
registerListener
in interface EventStream
public void unregisterListener(UnitOfWorkEventsListener subscriber)
unregisterListener
in interface EventStream
protected abstract Output<UnitOfWorkDomainEventsValue,IOException> storeEvents0()
protected void lock()