public abstract class AbstractEventStoreMixin extends Object implements EventStore, EventStream, EventStoreActivation
EventStoreActivation.Activator| Modifier and Type | Field and Description |
|---|---|
protected org.qi4j.api.type.ValueType |
domainEventType |
protected org.qi4j.api.type.ValueType |
eventsType |
protected org.qi4j.api.entity.Identity |
identity |
protected Lock |
lock |
protected org.slf4j.Logger |
logger |
protected org.qi4j.api.structure.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) |
org.qi4j.io.Output<UnitOfWorkDomainEventsValue,IOException> |
storeEvents() |
protected abstract org.qi4j.io.Output<UnitOfWorkDomainEventsValue,IOException> |
storeEvents0() |
void |
unregisterListener(UnitOfWorkEventsListener subscriber) |
@This protected org.qi4j.api.entity.Identity identity
protected org.slf4j.Logger logger
protected org.qi4j.api.type.ValueType domainEventType
protected org.qi4j.api.type.ValueType eventsType
protected Lock lock
@Structure protected org.qi4j.api.structure.Module module
public void activateEventStore()
throws Exception
activateEventStore in interface EventStoreActivationExceptionpublic void passivateEventStore()
throws Exception
passivateEventStore in interface EventStoreActivationExceptionpublic org.qi4j.io.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 org.qi4j.io.Output<UnitOfWorkDomainEventsValue,IOException> storeEvents0()
protected void lock()