createRoot

public R createRoot<I, R extends AggregateRoot<I>>(BoundedContext bc, I aggregateId)

Creates a new AggregateRoot within the passed Bounded Context.