public function getResourceEventName(ResourceInterface $resource, $suffix)
    {
        if (null !== $configuration = $this->registry->findConfiguration($resource, false)) {
            return sprintf('%s.%s', $configuration->getResourceId(), $suffix);
        }

        // TODO throw exception ?

        return null;
    }