class DefaultDocumentEventPersistManager implements DocumentEventPersistManager {

    @Override
    public <T> void firePreDocumentEntity(T entity) {
        entityDocumentPrePersist.fire(EntityDocumentPrePersist.of(entity));
    }

}