use of com.ramussoft.common.journal.command.CreateAttributeCommand in project ramus by Vitaliy-Yakovchuk.
the class JournaledEngine method registerCreation.
private Attribute registerCreation(Attribute attribute) {
synchronized (swithJournalLock) {
journal.store(new CreateAttributeCommand(this, attribute));
}
AttributeEvent event = new AttributeEvent(this, null, attribute, null, attribute);
attributeCreated(event);
return attribute;
}
Aggregations