class ConfigurationRegistry {

    public boolean hasConfiguration(final PersistenceUnitDescriptor descriptor) {
        for (final ConfigurationFactory factory : CONFIG_FACTORIES) {
            if (factory.isSupported(descriptor)) {
                return true;
            }
        }
        return false;
    }

}