org.axonframework.unitofwork
Interface SaveAggregateCallback<T extends AggregateRoot>

Type Parameters:
T - The type of aggregate this callback handles

public interface SaveAggregateCallback<T extends AggregateRoot>

Callback used by UnitOfWork instances to be invoked when the UnitOfWork wishes to store an aggregate. This callback abstracts the actual storage mechanism away from the UnitOfWork itself.

Since:
0.6
Author:
Allard Buijze

Method Summary
 void save(T aggregate)
          Invoked when the UnitOfWork wishes to store an aggregate.
 

Method Detail

save

void save(T aggregate)
Invoked when the UnitOfWork wishes to store an aggregate.

Parameters:
aggregate - The aggregate to store


Copyright © 2010-2016. All Rights Reserved.