@SuppressWarnings("resource") @Test void EntityListenerRepositoryDecorator() { assertThrows( NullPointerException.class, () -> new EntityListenerRepositoryDecorator(null, entityListenersService)); }
public EntityListenerRepositoryDecorator( Repository<Entity> delegateRepository, EntityListenersService entityListenersService) { super(delegateRepository); requireNonNull(entityListenersService).register(delegate().getName()); this.entityListenersService = entityListenersService; }
EntityListenerRepositoryDecorator extends AbstractRepositoryDecorator<Entity> { public EntityListenerRepositoryDecorator( Repository<Entity> delegateRepository, EntityListenersService entityListenersService) { super(delegateRepository); requireNonNull(entityListenersService).register(delegate().getName()); this.entityListenersService = entityListenersService; } }
EntityListenerRepositoryDecorator extends AbstractRepositoryDecorator<Entity> { public EntityListenerRepositoryDecorator( Repository<Entity> delegateRepository, EntityListenersService entityListenersService) { super(delegateRepository); requireNonNull(entityListenersService).register(delegate().getName()); this.entityListenersService = entityListenersService; } EntityListenerRepositoryDecorator(
      Repository<Entity> delegateRepository, EntityListenersService entityListenersService); }
EntityListenerRepositoryDecorator extends AbstractRepositoryDecorator<Entity> { public EntityListenerRepositoryDecorator( Repository<Entity> delegateRepository, EntityListenersService entityListenersService) { super(delegateRepository); requireNonNull(entityListenersService).register(delegate().getName()); this.entityListenersService = entityListenersService; } EntityListenerRepositoryDecorator(
      Repository<Entity> delegateRepository, EntityListenersService entityListenersService); @Override void update(Entity entity); @Override void update(Stream<Entity> entities); }
EntityListenerRepositoryDecorator extends AbstractRepositoryDecorator<Entity> { public EntityListenerRepositoryDecorator( Repository<Entity> delegateRepository, EntityListenersService entityListenersService) { super(delegateRepository); requireNonNull(entityListenersService).register(delegate().getName()); this.entityListenersService = entityListenersService; } EntityListenerRepositoryDecorator(
      Repository<Entity> delegateRepository, EntityListenersService entityListenersService); @Override void update(Entity entity); @Override void update(Stream<Entity> entities);  }